Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
tcp_cookie_values Struct Reference

#include <tcp.h>

Data Fields

struct kref kref
 
u8 cookie_pair [TCP_COOKIE_PAIR_SIZE]
 
u8 cookie_pair_size
 
u8 cookie_desired
 
u16 s_data_desired:11
 
u16 s_data_constant:1
 
u16 s_data_in:1
 
u16 s_data_out:1
 
u16 s_data_unused:2
 
u8 s_data_payload [0]
 

Detailed Description

struct tcp_cookie_values - each socket needs extra space for the cookies, together with (optional) space for any SYN data.

A tcp_sock contains a pointer to the current value, and this is cloned to the tcp_timewait_sock.

: variable data from the option exchange.

: user specified tcpct_cookie_desired. Zero indicates default (sysctl_tcp_cookie_size). After cookie sent, remembers size of cookie. Range 0, TCP_COOKIE_MIN to TCP_COOKIE_MAX.

: user specified tcpct_s_data_desired. When the constant payload is specified (), holds its length instead. Range 0 to TCP_MSS_DESIRED.

: constant data that is to be included in the payload of SYN or SYNACK segments when the cookie option is present.

Definition at line 1623 of file tcp.h.

Field Documentation

u8 cookie_desired

Definition at line 1627 of file tcp.h.

u8 cookie_pair[TCP_COOKIE_PAIR_SIZE]

Definition at line 1625 of file tcp.h.

u8 cookie_pair_size

Definition at line 1626 of file tcp.h.

Definition at line 1624 of file tcp.h.

u16 s_data_constant

Definition at line 1628 of file tcp.h.

u16 s_data_desired

Definition at line 1628 of file tcp.h.

u16 s_data_in

Definition at line 1628 of file tcp.h.

u16 s_data_out

Definition at line 1628 of file tcp.h.

u8 s_data_payload[0]

Definition at line 1633 of file tcp.h.

u16 s_data_unused

Definition at line 1628 of file tcp.h.


The documentation for this struct was generated from the following file: