History

tcp: fastopen: pass TFO child indication through getsockopt

tcp: fastopen: pass TFO child indication through getsockopt Note that this uses up the last bit of a field in struct tcp_info

Jeremy Harris committed 1 year ago

Commit 2b130421 parent bc2550b2 files · +3 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/tcp.h+1−0
@@ -184,6 +184,7 @@ enum tcp_fastopen_client_fail { · 183 unmodified lines
184#define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */184#define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */
185#define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */185#define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */
186#define TCPI_OPT_USEC_TS 64 /* usec timestamps */186#define TCPI_OPT_USEC_TS 64 /* usec timestamps */
187#define TCPI_OPT_TFO_CHILD 128 /* child from a Fast Open option on SYN */
187 188
188/*189/*
189 * Sender's congestion state indicating normal or abnormal situations190 * Sender's congestion state indicating normal or abnormal situations