[PATCH v2] Updates udp.h from Linux 6.19 to netinet/udp.h

Jiayuan Chen jiayuan.chen@linux.dev
Mon Mar 16 02:10:26 GMT 2026


This patch updates udp.h from Linux 6.19.

Suggested-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>

---
v1 -> v2: Add comment for TCP_ENCAP_ESPINTCP
---
 sysdeps/gnu/netinet/udp.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h
index 9cfbd82c69..948eb54692 100644
--- a/sysdeps/gnu/netinet/udp.h
+++ b/sysdeps/gnu/netinet/udp.h
@@ -90,6 +90,9 @@ struct udphdr
 #define UDP_ENCAP_L2TPINUDP	3	/* rfc2661 */
 #define UDP_ENCAP_GTP0		4	/* GSM TS 09.60 */
 #define UDP_ENCAP_GTP1U		5	/* 3GPP TS 29.060 */
+#define UDP_ENCAP_RXRPC		6
+#define TCP_ENCAP_ESPINTCP	7	/* IPsec traffic over TCP (RFC 8229) */
+#define UDP_ENCAP_OVPNINUDP	8	/* OpenVPN traffic */
 
 #define SOL_UDP            17      /* sockopt level for UDP */
 
-- 
2.43.0



More information about the Libc-alpha mailing list