Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/tcp.h
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | |||||
#define TCPOPT_SACK 5 | #define TCPOPT_SACK 5 | ||||
#define TCPOLEN_SACKHDR 2 | #define TCPOLEN_SACKHDR 2 | ||||
#define TCPOLEN_SACK 8 /* 2*sizeof(tcp_seq) */ | #define TCPOLEN_SACK 8 /* 2*sizeof(tcp_seq) */ | ||||
#define TCPOPT_TIMESTAMP 8 | #define TCPOPT_TIMESTAMP 8 | ||||
#define TCPOLEN_TIMESTAMP 10 | #define TCPOLEN_TIMESTAMP 10 | ||||
#define TCPOLEN_TSTAMP_APPA (TCPOLEN_TIMESTAMP+2) /* appendix A */ | #define TCPOLEN_TSTAMP_APPA (TCPOLEN_TIMESTAMP+2) /* appendix A */ | ||||
#define TCPOPT_SIGNATURE 19 /* Keyed MD5: RFC 2385 */ | #define TCPOPT_SIGNATURE 19 /* Keyed MD5: RFC 2385 */ | ||||
#define TCPOLEN_SIGNATURE 18 | #define TCPOLEN_SIGNATURE 18 | ||||
#define TCPOPT_FAST_OPEN 34 | |||||
#define TCPOLEN_FAST_OPEN_EMPTY 2 | |||||
#define TCPOLEN_FAST_OPEN_MIN 6 | |||||
#define TCPOLEN_FAST_OPEN_MAX 18 | |||||
/* Miscellaneous constants */ | /* Miscellaneous constants */ | ||||
#define MAX_SACK_BLKS 6 /* Max # SACK blocks stored at receiver side */ | #define MAX_SACK_BLKS 6 /* Max # SACK blocks stored at receiver side */ | ||||
#define TCP_MAX_SACK 4 /* MAX # SACKs sent in any segment */ | #define TCP_MAX_SACK 4 /* MAX # SACKs sent in any segment */ | ||||
/* | /* | ||||
* The default maximum segment size (MSS) to be used for new TCP connections | * The default maximum segment size (MSS) to be used for new TCP connections | ||||
▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
#define TCP_NOOPT 8 /* don't use TCP options */ | #define TCP_NOOPT 8 /* don't use TCP options */ | ||||
#define TCP_MD5SIG 16 /* use MD5 digests (RFC2385) */ | #define TCP_MD5SIG 16 /* use MD5 digests (RFC2385) */ | ||||
#define TCP_INFO 32 /* retrieve tcp_info structure */ | #define TCP_INFO 32 /* retrieve tcp_info structure */ | ||||
#define TCP_CONGESTION 64 /* get/set congestion control algorithm */ | #define TCP_CONGESTION 64 /* get/set congestion control algorithm */ | ||||
#define TCP_KEEPINIT 128 /* N, time to establish connection */ | #define TCP_KEEPINIT 128 /* N, time to establish connection */ | ||||
#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_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 */ | ||||
/* Start of reserved space for third-party user-settable options. */ | /* Start of reserved space for third-party user-settable options. */ | ||||
#define TCP_VENDOR SO_VENDOR | #define TCP_VENDOR SO_VENDOR | ||||
#define TCP_CA_NAME_MAX 16 /* max congestion control name length */ | #define TCP_CA_NAME_MAX 16 /* max congestion control name length */ | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |