Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/tcp.h
Show First 20 Lines • Show All 190 Lines • ▼ Show 20 Lines | |||||
#define TCP_KEEPIDLE 256 /* L,N,X start keeplives after this period */ | #define TCP_KEEPIDLE 256 /* L,N,X start keeplives after this period */ | ||||
#define TCP_KEEPINTVL 512 /* L,N interval between keepalives */ | #define TCP_KEEPINTVL 512 /* L,N interval between keepalives */ | ||||
#define TCP_KEEPCNT 1024 /* L,N number of keepalives before close */ | #define TCP_KEEPCNT 1024 /* L,N number of keepalives before close */ | ||||
#define TCP_FASTOPEN 1025 /* enable TFO / was created via TFO */ | #define TCP_FASTOPEN 1025 /* enable TFO / was created via TFO */ | ||||
#define TCP_PCAP_OUT 2048 /* number of output packets to keep */ | #define TCP_PCAP_OUT 2048 /* number of output packets to keep */ | ||||
#define TCP_PCAP_IN 4096 /* number of input packets to keep */ | #define TCP_PCAP_IN 4096 /* number of input packets to keep */ | ||||
#define TCP_FUNCTION_BLK 8192 /* Set the tcp function pointers to the specified stack */ | #define TCP_FUNCTION_BLK 8192 /* Set the tcp function pointers to the specified stack */ | ||||
/* Options for Rack and BBR */ | /* Options for Rack and BBR */ | ||||
#define TCP_REUSPORT_LB_NUMA 1026 /* set listen socket numa domain */ | |||||
#define TCP_RACK_MBUF_QUEUE 1050 /* Do we allow mbuf queuing if supported */ | #define TCP_RACK_MBUF_QUEUE 1050 /* Do we allow mbuf queuing if supported */ | ||||
#define TCP_RACK_PROP 1051 /* RACK proportional rate reduction (bool) */ | #define TCP_RACK_PROP 1051 /* RACK proportional rate reduction (bool) */ | ||||
#define TCP_RACK_TLP_REDUCE 1052 /* RACK TLP cwnd reduction (bool) */ | #define TCP_RACK_TLP_REDUCE 1052 /* RACK TLP cwnd reduction (bool) */ | ||||
#define TCP_RACK_PACE_REDUCE 1053 /* RACK Pacing reduction factor (divisor) */ | #define TCP_RACK_PACE_REDUCE 1053 /* RACK Pacing reduction factor (divisor) */ | ||||
#define TCP_RACK_PACE_MAX_SEG 1054 /* Max TSO size we will send */ | #define TCP_RACK_PACE_MAX_SEG 1054 /* Max TSO size we will send */ | ||||
#define TCP_RACK_PACE_ALWAYS 1055 /* Use the always pace method */ | #define TCP_RACK_PACE_ALWAYS 1055 /* Use the always pace method */ | ||||
#define TCP_RACK_PROP_RATE 1056 /* The proportional reduction rate */ | #define TCP_RACK_PROP_RATE 1056 /* The proportional reduction rate */ | ||||
#define TCP_RACK_PRR_SENDALOT 1057 /* Allow PRR to send more than one seg */ | #define TCP_RACK_PRR_SENDALOT 1057 /* Allow PRR to send more than one seg */ | ||||
▲ Show 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | |||||
#define VOI_TCP_FRWIN 2 /* Foreign receive window */ | #define VOI_TCP_FRWIN 2 /* Foreign receive window */ | ||||
#define VOI_TCP_LCWIN 3 /* Local congesiton window */ | #define VOI_TCP_LCWIN 3 /* Local congesiton window */ | ||||
#define VOI_TCP_RTT 4 /* Round trip time */ | #define VOI_TCP_RTT 4 /* Round trip time */ | ||||
#define VOI_TCP_CSIG 5 /* Congestion signal */ | #define VOI_TCP_CSIG 5 /* Congestion signal */ | ||||
#define VOI_TCP_GPUT 6 /* Goodput */ | #define VOI_TCP_GPUT 6 /* Goodput */ | ||||
#define VOI_TCP_CALCFRWINDIFF 7 /* Congestion avoidance LCWIN - FRWIN */ | #define VOI_TCP_CALCFRWINDIFF 7 /* Congestion avoidance LCWIN - FRWIN */ | ||||
#define VOI_TCP_GPUT_ND 8 /* Goodput normalised delta */ | #define VOI_TCP_GPUT_ND 8 /* Goodput normalised delta */ | ||||
#define VOI_TCP_ACKLEN 9 /* Average ACKed bytes per ACK */ | #define VOI_TCP_ACKLEN 9 /* Average ACKed bytes per ACK */ | ||||
#define TCP_REUSPORT_LB_NUMA_NODOM (-2) /* remove numa binding */ | |||||
#define TCP_REUSPORT_LB_NUMA_CURDOM (-1) /* bind to current domain */ | |||||
#endif /* !_NETINET_TCP_H_ */ | #endif /* !_NETINET_TCP_H_ */ |