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

Message ID 20260316021026.303020-1-jiayuan.chen@linux.dev (mailing list archive)
State Under Review
Delegated to: Florian Weimer
Headers
Series [v2] Updates udp.h from Linux 6.19 to netinet/udp.h |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed

Commit Message

Jiayuan Chen March 16, 2026, 2:10 a.m. UTC
  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(+)
  

Patch

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 */