Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp.h
Show First 20 Lines • Show All 457 Lines • ▼ Show 20 Lines | |||||
* TCP Control message types | * TCP Control message types | ||||
*/ | */ | ||||
#define TLS_SET_RECORD_TYPE 1 | #define TLS_SET_RECORD_TYPE 1 | ||||
#define TLS_GET_RECORD 2 | #define TLS_GET_RECORD 2 | ||||
/* | /* | ||||
* TCP log user opaque | * TCP log user opaque | ||||
*/ | */ | ||||
struct http_req { | struct tcp_snd_req { | ||||
uint64_t timestamp; | uint64_t timestamp; | ||||
uint64_t start; | uint64_t start; | ||||
uint64_t end; | uint64_t end; | ||||
uint32_t flags; | uint32_t flags; | ||||
}; | }; | ||||
union tcp_log_userdata { | union tcp_log_userdata { | ||||
struct http_req http_req; | struct tcp_snd_req tcp_req; | ||||
}; | }; | ||||
struct tcp_log_user { | struct tcp_log_user { | ||||
uint32_t type; | uint32_t type; | ||||
uint32_t subtype; | uint32_t subtype; | ||||
union tcp_log_userdata data; | union tcp_log_userdata data; | ||||
}; | }; | ||||
Show All 13 Lines | |||||
#define TCP_HYBRID_PACING_DTL 0x0002 /* Enable Detailed logging */ | #define TCP_HYBRID_PACING_DTL 0x0002 /* Enable Detailed logging */ | ||||
#define TCP_HYBRID_PACING_CSPR 0x0004 /* A client suggested rate is present */ | #define TCP_HYBRID_PACING_CSPR 0x0004 /* A client suggested rate is present */ | ||||
#define TCP_HYBRID_PACING_H_MS 0x0008 /* A client hint for maxseg is present */ | #define TCP_HYBRID_PACING_H_MS 0x0008 /* A client hint for maxseg is present */ | ||||
#define TCP_HYBRID_PACING_ENABLE 0x0010 /* We are enabling hybrid pacing else disable */ | #define TCP_HYBRID_PACING_ENABLE 0x0010 /* We are enabling hybrid pacing else disable */ | ||||
#define TCP_HYBRID_PACING_S_MSS 0x0020 /* Clent wants us to set the mss overriding gp est in CU */ | #define TCP_HYBRID_PACING_S_MSS 0x0020 /* Clent wants us to set the mss overriding gp est in CU */ | ||||
#define TCP_HYBRID_PACING_SETMSS 0x1000 /* Internal flag that tellsus we set the mss on this entry */ | #define TCP_HYBRID_PACING_SETMSS 0x1000 /* Internal flag that tellsus we set the mss on this entry */ | ||||
struct tcp_hybrid_req { | struct tcp_hybrid_req { | ||||
struct http_req req; | struct tcp_snd_req req; | ||||
uint64_t cspr; | uint64_t cspr; | ||||
uint32_t hint_maxseg; | uint32_t hint_maxseg; | ||||
uint32_t hybrid_flags; | uint32_t hybrid_flags; | ||||
}; | }; | ||||
/* | /* | ||||
* TCP specific variables of interest for tp->t_stats stats(9) accounting. | * TCP specific variables of interest for tp->t_stats stats(9) accounting. | ||||
*/ | */ | ||||
Show All 16 Lines |