aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-01-17 20:41:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-01-17 20:41:04 +0000
commitb5e3d66b964569acc919199ee34f3e9c28c5d6d0 (patch)
treeb34c6557038584f96837448d9bcbe85876084761
parent55599d480437dcf129b41b95be32b48f2a9e5da9 (diff)
downloadglibc-b5e3d66b964569acc919199ee34f3e9c28c5d6d0.zip
glibc-b5e3d66b964569acc919199ee34f3e9c28c5d6d0.tar.gz
glibc-b5e3d66b964569acc919199ee34f3e9c28c5d6d0.tar.bz2
Add IPPROTO_L2TP from Linux 6.1 to netinet/in.h
Linux 6.1 adds a define IPPROTO_L2TP to its include/uapi/linux/in.h (not strictly a new constant, since it's moved from include/uapi/linux/l2tp.h). Add this constant to glibc's netinet/in.h. Tested for x86_64.
-rw-r--r--inet/netinet/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index 858652c..60deab2 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -81,6 +81,8 @@ enum
#define IPPROTO_PIM IPPROTO_PIM
IPPROTO_COMP = 108, /* Compression Header Protocol. */
#define IPPROTO_COMP IPPROTO_COMP
+ IPPROTO_L2TP = 115, /* Layer 2 Tunnelling Protocol. */
+#define IPPROTO_L2TP IPPROTO_L2TP
IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */
#define IPPROTO_SCTP IPPROTO_SCTP
IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */