Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp.h
Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | |||||
#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_LOG 34 /* configure event logging for connection */ | #define TCP_LOG 34 /* configure event logging for connection */ | ||||
#define TCP_LOGBUF 35 /* retrieve event log for connection */ | #define TCP_LOGBUF 35 /* retrieve event log for connection */ | ||||
#define TCP_LOGID 36 /* configure log ID to correlate connections */ | #define TCP_LOGID 36 /* configure log ID to correlate connections */ | ||||
#define TCP_LOGDUMP 37 /* dump connection log events to device */ | #define TCP_LOGDUMP 37 /* dump connection log events to device */ | ||||
#define TCP_LOGDUMPID 38 /* dump events from connections with same ID to | #define TCP_LOGDUMPID 38 /* dump events from connections with same ID to | ||||
device */ | device */ | ||||
#define TCP_TXTLS_ENABLE 39 /* TLS framing and encryption for transmit */ | |||||
#define TCP_TXTLS_MODE 40 /* Transmit TLS mode */ | |||||
#define TCP_CONGESTION 64 /* get/set congestion control algorithm */ | #define TCP_CONGESTION 64 /* get/set congestion control algorithm */ | ||||
#define TCP_CCALGOOPT 65 /* get/set cc algorithm specific options */ | #define TCP_CCALGOOPT 65 /* get/set cc algorithm specific options */ | ||||
#define TCP_DELACK 72 /* socket option for delayed ack */ | #define TCP_DELACK 72 /* socket option for delayed ack */ | ||||
#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_FASTOPEN 1025 /* enable TFO / was created via TFO */ | ||||
▲ Show 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
#endif | #endif | ||||
#define TCP_FUNCTION_NAME_LEN_MAX 32 | #define TCP_FUNCTION_NAME_LEN_MAX 32 | ||||
struct tcp_function_set { | struct tcp_function_set { | ||||
char function_set_name[TCP_FUNCTION_NAME_LEN_MAX]; | char function_set_name[TCP_FUNCTION_NAME_LEN_MAX]; | ||||
uint32_t pcbcnt; | uint32_t pcbcnt; | ||||
}; | }; | ||||
/* TLS modes for TCP_TXTLS_MODE */ | |||||
#define TCP_TLS_MODE_NONE 0 | |||||
#define TCP_TLS_MODE_SW 1 | |||||
#define TCP_TLS_MODE_IFNET 2 | |||||
/* | |||||
* TCP Control message types | |||||
*/ | |||||
#define TLS_SET_RECORD_TYPE 1 | |||||
#endif /* !_NETINET_TCP_H_ */ | #endif /* !_NETINET_TCP_H_ */ |