Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_var.h
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | /* SACK related state */ | ||||
u_int t_tsomax; /* TSO total burst length limit in bytes */ | u_int t_tsomax; /* TSO total burst length limit in bytes */ | ||||
u_int t_tsomaxsegcount; /* TSO maximum segment count */ | u_int t_tsomaxsegcount; /* TSO maximum segment count */ | ||||
u_int t_tsomaxsegsize; /* TSO maximum segment size in bytes */ | u_int t_tsomaxsegsize; /* TSO maximum segment size in bytes */ | ||||
u_int t_flags2; /* More tcpcb flags storage */ | u_int t_flags2; /* More tcpcb flags storage */ | ||||
struct tcp_function_block *t_fb;/* TCP function call block */ | struct tcp_function_block *t_fb;/* TCP function call block */ | ||||
void *t_fb_ptr; /* Pointer to t_fb specific data */ | void *t_fb_ptr; /* Pointer to t_fb specific data */ | ||||
#ifdef TCP_RFC7413 | #ifdef TCP_RFC7413 | ||||
uint64_t t_tfo_cookie; /* TCP Fast Open cookie */ | uint8_t t_tfo_client_cookie_len; /* TCP Fast Open client cookie length */ | ||||
unsigned int *t_tfo_pending; /* TCP Fast Open pending counter */ | unsigned int *t_tfo_pending; /* TCP Fast Open server pending counter */ | ||||
union { | |||||
uint8_t client[TCP_FASTOPEN_MAX_COOKIE_LEN]; | |||||
uint64_t server; | |||||
} t_tfo_cookie; /* TCP Fast Open cookie to send */ | |||||
#endif | #endif | ||||
#ifdef TCPPCAP | #ifdef TCPPCAP | ||||
struct mbufq t_inpkts; /* List of saved input packets. */ | struct mbufq t_inpkts; /* List of saved input packets. */ | ||||
struct mbufq t_outpkts; /* List of saved output packets. */ | struct mbufq t_outpkts; /* List of saved output packets. */ | ||||
#endif | #endif | ||||
}; | }; | ||||
#endif /* _KERNEL || _WANT_TCPCB */ | #endif /* _KERNEL || _WANT_TCPCB */ | ||||
▲ Show 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | |||||
#define TOF_SIGNATURE 0x0040 /* TCP-MD5 signature option (RFC2385) */ | #define TOF_SIGNATURE 0x0040 /* TCP-MD5 signature option (RFC2385) */ | ||||
#define TOF_SACK 0x0080 /* Peer sent SACK option */ | #define TOF_SACK 0x0080 /* Peer sent SACK option */ | ||||
#define TOF_FASTOPEN 0x0100 /* TCP Fast Open (TFO) cookie */ | #define TOF_FASTOPEN 0x0100 /* TCP Fast Open (TFO) cookie */ | ||||
#define TOF_MAXOPT 0x0200 | #define TOF_MAXOPT 0x0200 | ||||
u_int32_t to_tsval; /* new timestamp */ | u_int32_t to_tsval; /* new timestamp */ | ||||
u_int32_t to_tsecr; /* reflected timestamp */ | u_int32_t to_tsecr; /* reflected timestamp */ | ||||
u_char *to_sacks; /* pointer to the first SACK blocks */ | u_char *to_sacks; /* pointer to the first SACK blocks */ | ||||
u_char *to_signature; /* pointer to the TCP-MD5 signature */ | u_char *to_signature; /* pointer to the TCP-MD5 signature */ | ||||
u_char *to_tfo_cookie; /* pointer to the TFO cookie */ | u_int8_t *to_tfo_cookie; /* pointer to the TFO cookie */ | ||||
u_int16_t to_mss; /* maximum segment size */ | u_int16_t to_mss; /* maximum segment size */ | ||||
u_int8_t to_wscale; /* window scaling */ | u_int8_t to_wscale; /* window scaling */ | ||||
u_int8_t to_nsacks; /* number of SACK blocks */ | u_int8_t to_nsacks; /* number of SACK blocks */ | ||||
u_int8_t to_tfo_len; /* TFO cookie length */ | u_int8_t to_tfo_len; /* TFO cookie length */ | ||||
u_int32_t to_spare; /* UTO */ | u_int32_t to_spare; /* UTO */ | ||||
}; | }; | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 534 Lines • Show Last 20 Lines |