Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20260702100540.1932910-1-ch@bitfehler.net>
Date: Thu,  2 Jul 2026 12:05:40 +0200
From: Conrad Hoffmann <ch@...fehler.net>
To: musl@...ts.openwall.com
Cc: Conrad Hoffmann <ch@...fehler.net>
Subject: [PATCH musl] netinet/tcp.h: keep up _GNU_SOURCE compatibility

These were added to glibc and are used occasionally in the wild:

* https://gitlab.com/gnutools/glibc/-/commit/4c4febf5
* https://gitlab.com/gnutools/glibc/-/commit/9f680bfe

Signed-off-by: Conrad Hoffmann <ch@...fehler.net>
---
Not subscribed, please keep me CC'ed.

 include/netinet/tcp.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index fad1d844..7b25234f 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -178,6 +178,10 @@ struct tcphdr {
 #define TCPI_OPT_SACK		2
 #define TCPI_OPT_WSCALE		4
 #define TCPI_OPT_ECN		8
+#define TCPI_OPT_ECN_SEEN	16
+#define TCPI_OPT_SYN_DATA	32
+#define TCPI_OPT_USEC_TS	64
+#define TCPI_OPT_TFO_CHILD	128
 
 #define TCP_CA_Open		0
 #define TCP_CA_Disorder		1
-- 
2.54.0

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.