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
184184 #define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */
185185 #define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */
186186 #define TCPI_OPT_USEC_TS 64 /* usec timestamps */
187+#define TCPI_OPT_TFO_CHILD 128 /* child from a Fast Open option on SYN */
187188
188189 /*
189190 * Sender's congestion state indicating normal or abnormal situations