Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
tcp.h File Reference
#include <linux/skbuff.h>
#include <linux/dmaengine.h>
#include <net/sock.h>
#include <net/inet_connection_sock.h>
#include <net/inet_timewait_sock.h>
#include <uapi/linux/tcp.h>

Go to the source code of this file.

Data Structures

struct  tcp_fastopen_cookie
 
struct  tcp_sack_block_wire
 
struct  tcp_sack_block
 
struct  tcp_options_received
 
struct  tcp_request_sock
 
struct  tcp_sock
 
struct  tcp_timewait_sock
 

Macros

#define TCP_FASTOPEN_COOKIE_MIN   4 /* Min Fast Open Cookie size in bytes */
 
#define TCP_FASTOPEN_COOKIE_MAX   16 /* Max Fast Open Cookie size in bytes */
 
#define TCP_FASTOPEN_COOKIE_SIZE   8 /* the size employed by this impl. */
 
#define TCP_SACK_SEEN   (1 << 0) /*1 = peer is SACK capable, */
 
#define TCP_FACK_ENABLED   (1 << 1) /*1 = FACK is enabled locally*/
 
#define TCP_DSACK_SEEN   (1 << 2) /*1 = DSACK was received from peer*/
 
#define TCP_NUM_SACKS   4
 

Enumerations

enum  tsq_flags {
  TSQ_THROTTLED, TSQ_QUEUED, TCP_TSQ_DEFERRED, TCP_WRITE_TIMER_DEFERRED,
  TCP_DELACK_TIMER_DEFERRED, TCP_MTU_REDUCED_DEFERRED
}
 

Functions

void tcp_sock_destruct (struct sock *sk)
 

Macro Definition Documentation

#define TCP_DSACK_SEEN   (1 << 2) /*1 = DSACK was received from peer*/

Definition at line 68 of file tcp.h.

#define TCP_FACK_ENABLED   (1 << 1) /*1 = FACK is enabled locally*/

Definition at line 67 of file tcp.h.

#define TCP_FASTOPEN_COOKIE_MAX   16 /* Max Fast Open Cookie size in bytes */

Definition at line 45 of file tcp.h.

#define TCP_FASTOPEN_COOKIE_MIN   4 /* Min Fast Open Cookie size in bytes */

Definition at line 44 of file tcp.h.

#define TCP_FASTOPEN_COOKIE_SIZE   8 /* the size employed by this impl. */

Definition at line 46 of file tcp.h.

#define TCP_NUM_SACKS   4

Definition at line 102 of file tcp.h.

#define TCP_SACK_SEEN   (1 << 0) /*1 = peer is SACK capable, */

Definition at line 66 of file tcp.h.

Enumeration Type Documentation

enum tsq_flags
Enumerator:
TSQ_THROTTLED 
TSQ_QUEUED 
TCP_TSQ_DEFERRED 
TCP_WRITE_TIMER_DEFERRED 
TCP_DELACK_TIMER_DEFERRED 
TCP_MTU_REDUCED_DEFERRED 

Definition at line 326 of file tcp.h.

Function Documentation

void tcp_sock_destruct ( struct sock sk)

Definition at line 2294 of file tcp.c.