Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_var.h
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Lines | typedef enum { | ||||
TT_REXMT = 0, | TT_REXMT = 0, | ||||
TT_PERSIST, | TT_PERSIST, | ||||
TT_KEEP, | TT_KEEP, | ||||
TT_2MSL, | TT_2MSL, | ||||
TT_DELACK, | TT_DELACK, | ||||
TT_N, | TT_N, | ||||
} tt_which; | } tt_which; | ||||
typedef enum { | |||||
TT_PROCESSING = 0, | |||||
TT_PROCESSED, | |||||
TT_STARTING, | |||||
TT_STOPPING, | |||||
} tt_what; | |||||
/* | /* | ||||
* Tcp control block, one per tcp connection. | * Tcp control block, one per tcp connection. | ||||
*/ | */ | ||||
struct tcpcb { | struct tcpcb { | ||||
struct inpcb t_inpcb; /* embedded protocol independent cb */ | struct inpcb t_inpcb; /* embedded protocol independent cb */ | ||||
#define t_start_zero t_fb | #define t_start_zero t_fb | ||||
#define t_zero_size (sizeof(struct tcpcb) - \ | #define t_zero_size (sizeof(struct tcpcb) - \ | ||||
offsetof(struct tcpcb, t_start_zero)) | offsetof(struct tcpcb, t_start_zero)) | ||||
▲ Show 20 Lines • Show All 1,158 Lines • Show Last 20 Lines |