Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_var.h
Show First 20 Lines • Show All 562 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_ECN_PLUSPLUS 0x00000200 /* ECN++ session */ | |||||
#define TF2_FBYTES_COMPLETE 0x00000400 /* We have first bytes in and out */ | #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 413 Lines • ▼ Show 20 Lines | |||||
VNET_DECLARE(int, tcp_tolerate_missing_ts); | VNET_DECLARE(int, tcp_tolerate_missing_ts); | ||||
VNET_DECLARE(int, tcp_do_rfc3042); | VNET_DECLARE(int, tcp_do_rfc3042); | ||||
VNET_DECLARE(int, tcp_do_rfc3390); | VNET_DECLARE(int, tcp_do_rfc3390); | ||||
VNET_DECLARE(int, tcp_do_rfc3465); | VNET_DECLARE(int, tcp_do_rfc3465); | ||||
VNET_DECLARE(int, tcp_do_newsack); | VNET_DECLARE(int, tcp_do_newsack); | ||||
VNET_DECLARE(int, tcp_do_sack); | VNET_DECLARE(int, tcp_do_sack); | ||||
VNET_DECLARE(int, tcp_do_tso); | VNET_DECLARE(int, tcp_do_tso); | ||||
VNET_DECLARE(int, tcp_ecn_maxretries); | VNET_DECLARE(int, tcp_ecn_maxretries); | ||||
VNET_DECLARE(int, tcp_ecn_generalized); | |||||
VNET_DECLARE(int, tcp_initcwnd_segments); | VNET_DECLARE(int, tcp_initcwnd_segments); | ||||
VNET_DECLARE(int, tcp_insecure_rst); | VNET_DECLARE(int, tcp_insecure_rst); | ||||
VNET_DECLARE(int, tcp_insecure_syn); | VNET_DECLARE(int, tcp_insecure_syn); | ||||
VNET_DECLARE(uint32_t, tcp_map_entries_limit); | VNET_DECLARE(uint32_t, tcp_map_entries_limit); | ||||
VNET_DECLARE(uint32_t, tcp_map_split_limit); | VNET_DECLARE(uint32_t, tcp_map_split_limit); | ||||
VNET_DECLARE(int, tcp_minmss); | VNET_DECLARE(int, tcp_minmss); | ||||
VNET_DECLARE(int, tcp_mssdflt); | VNET_DECLARE(int, tcp_mssdflt); | ||||
#ifdef STATS | #ifdef STATS | ||||
Show All 30 Lines | |||||
#define V_tcp_ts_offset_per_conn VNET(tcp_ts_offset_per_conn) | #define V_tcp_ts_offset_per_conn VNET(tcp_ts_offset_per_conn) | ||||
#define V_tcp_do_rfc3042 VNET(tcp_do_rfc3042) | #define V_tcp_do_rfc3042 VNET(tcp_do_rfc3042) | ||||
#define V_tcp_do_rfc3390 VNET(tcp_do_rfc3390) | #define V_tcp_do_rfc3390 VNET(tcp_do_rfc3390) | ||||
#define V_tcp_do_rfc3465 VNET(tcp_do_rfc3465) | #define V_tcp_do_rfc3465 VNET(tcp_do_rfc3465) | ||||
#define V_tcp_do_newsack VNET(tcp_do_newsack) | #define V_tcp_do_newsack VNET(tcp_do_newsack) | ||||
#define V_tcp_do_sack VNET(tcp_do_sack) | #define V_tcp_do_sack VNET(tcp_do_sack) | ||||
#define V_tcp_do_tso VNET(tcp_do_tso) | #define V_tcp_do_tso VNET(tcp_do_tso) | ||||
#define V_tcp_ecn_maxretries VNET(tcp_ecn_maxretries) | #define V_tcp_ecn_maxretries VNET(tcp_ecn_maxretries) | ||||
#define V_tcp_ecn_generalized VNET(tcp_ecn_generalized) | |||||
#define V_tcp_initcwnd_segments VNET(tcp_initcwnd_segments) | #define V_tcp_initcwnd_segments VNET(tcp_initcwnd_segments) | ||||
#define V_tcp_insecure_rst VNET(tcp_insecure_rst) | #define V_tcp_insecure_rst VNET(tcp_insecure_rst) | ||||
#define V_tcp_insecure_syn VNET(tcp_insecure_syn) | #define V_tcp_insecure_syn VNET(tcp_insecure_syn) | ||||
#define V_tcp_map_entries_limit VNET(tcp_map_entries_limit) | #define V_tcp_map_entries_limit VNET(tcp_map_entries_limit) | ||||
#define V_tcp_map_split_limit VNET(tcp_map_split_limit) | #define V_tcp_map_split_limit VNET(tcp_map_split_limit) | ||||
#define V_tcp_minmss VNET(tcp_minmss) | #define V_tcp_minmss VNET(tcp_minmss) | ||||
#define V_tcp_mssdflt VNET(tcp_mssdflt) | #define V_tcp_mssdflt VNET(tcp_mssdflt) | ||||
#ifdef STATS | #ifdef STATS | ||||
▲ Show 20 Lines • Show All 233 Lines • Show Last 20 Lines |