Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/tcp_var.h
Show First 20 Lines • Show All 196 Lines • ▼ Show 20 Lines | struct tcpcb { | ||||
char t_iobc; /* input character */ | char t_iobc; /* input character */ | ||||
int t_rxtcur; /* current retransmit value (ticks) */ | int t_rxtcur; /* current retransmit value (ticks) */ | ||||
int t_rxtshift; /* log(2) of rexmt exp. backoff */ | int t_rxtshift; /* log(2) of rexmt exp. backoff */ | ||||
u_int t_rtttime; /* RTT measurement start time */ | u_int t_rtttime; /* RTT measurement start time */ | ||||
tcp_seq t_rtseq; /* sequence number being timed */ | tcp_seq t_rtseq; /* sequence number being timed */ | ||||
u_int t_starttime; /* time connection was established */ | u_int t_starttime; /* time connection was established */ | ||||
u_int t_fbyte_in; /* ticks time when first byte queued in */ | |||||
u_int t_fbyte_out; /* ticks time when first byte queued out */ | |||||
u_int t_pmtud_saved_maxseg; /* pre-blackhole MSS */ | u_int t_pmtud_saved_maxseg; /* pre-blackhole MSS */ | ||||
int t_blackhole_enter; /* when to enter blackhole detection */ | int t_blackhole_enter; /* when to enter blackhole detection */ | ||||
int t_blackhole_exit; /* when to exit blackhole detection */ | int t_blackhole_exit; /* when to exit blackhole detection */ | ||||
u_int t_rttmin; /* minimum rtt allowed */ | u_int t_rttmin; /* minimum rtt allowed */ | ||||
u_int t_rttbest; /* best rtt we've seen */ | u_int t_rttbest; /* best rtt we've seen */ | ||||
▲ Show 20 Lines • Show All 216 Lines • ▼ Show 20 Lines | |||||
#define TF2_PLPMTU_PMTUD 0x00000002 /* Allowed to attempt PLPMTUD. */ | #define TF2_PLPMTU_PMTUD 0x00000002 /* Allowed to attempt PLPMTUD. */ | ||||
#define TF2_PLPMTU_MAXSEGSNT 0x00000004 /* Last seg sent was full seg. */ | #define TF2_PLPMTU_MAXSEGSNT 0x00000004 /* Last seg sent was full seg. */ | ||||
#define TF2_LOG_AUTO 0x00000008 /* Session is auto-logging. */ | #define TF2_LOG_AUTO 0x00000008 /* Session is auto-logging. */ | ||||
#define TF2_DROP_AF_DATA 0x00000010 /* Drop after all data ack'd */ | #define TF2_DROP_AF_DATA 0x00000010 /* Drop after all data ack'd */ | ||||
#define TF2_ECN_PERMIT 0x00000020 /* connection ECN-ready */ | #define TF2_ECN_PERMIT 0x00000020 /* connection ECN-ready */ | ||||
#define TF2_ECN_SND_CWR 0x00000040 /* ECN CWR in queue */ | #define TF2_ECN_SND_CWR 0x00000040 /* ECN CWR in queue */ | ||||
#define TF2_ECN_SND_ECE 0x00000080 /* ECN ECE in queue */ | #define TF2_ECN_SND_ECE 0x00000080 /* ECN ECE in queue */ | ||||
#define TF2_ACE_PERMIT 0x00000100 /* Accurate ECN mode */ | #define TF2_ACE_PERMIT 0x00000100 /* Accurate ECN mode */ | ||||
#define TF2_FBYTES_COMPLETE 0x00000400 /* We have first bytes in and out */ | |||||
/* | /* | ||||
* Structure to hold TCP options that are only used during segment | * Structure to hold TCP options that are only used during segment | ||||
* processing (in tcp_input), but not held in the tcpcb. | * processing (in tcp_input), but not held in the tcpcb. | ||||
* It's basically used to reduce the number of parameters | * It's basically used to reduce the number of parameters | ||||
* to tcp_dooptions and tcp_addoptions. | * to tcp_dooptions and tcp_addoptions. | ||||
* The binary order of the to_flags is relevant for packing of the | * The binary order of the to_flags is relevant for packing of the | ||||
* options in tcp_addoptions. | * options in tcp_addoptions. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 632 Lines • Show Last 20 Lines |