[PATCH] Add TCPI_OPT_USEC_TS from Linux 6.14 and TCPI_OPT_TFO_CHILD from 6.15 to netinet/tcp.h.
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Mon Jun 16 13:24:21 GMT 2025
On 31/05/25 04:57, Jeremy Harris wrote:
> This patch adds the TCPI_OPT_USEC_TS constant from Linux 6.14 to
> sysdeps/gnu/netinet/tcp.h
>
> This patch adds the TCPI_OPT_TFO_CHILD constant from Linux 6.15 to
> sysdeps/gnu/netinet/tcp.h
>
> Signed-off-by: Jeremy Harris <jgh@exim.org>
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> ---
> sysdeps/gnu/netinet/tcp.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
> index b2acbb435..7a3500b74 100644
> --- a/sysdeps/gnu/netinet/tcp.h
> +++ b/sysdeps/gnu/netinet/tcp.h
> @@ -212,6 +212,9 @@ enum
> # define TCPI_OPT_ECN 8 /* ECN was negotiated at TCP session init */
> # define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */
> # define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */
> +# define TCPI_OPT_USEC_TS 64 /* usec timestamps */
> +# define TCPI_OPT_TFO_CHILD 128 /* child from a Fast Open option on SYN */
> +
>
> /* Values for tcpi_state. */
> enum tcp_ca_state
>
> base-commit: 1a3d8f2201d4d613401ce5be9a283f4f28c43093
More information about the Libc-alpha
mailing list