public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Add IPPROTO_L2TP from Linux 6.1 to netinet/in.h
@ 2023-01-17 20:41 Joseph Myers
  0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2023-01-17 20:41 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b5e3d66b964569acc919199ee34f3e9c28c5d6d0

commit b5e3d66b964569acc919199ee34f3e9c28c5d6d0
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Jan 17 20:41:04 2023 +0000

    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.

Diff:
---
 inet/netinet/in.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index 858652cc37..60deab2f99 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.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-17 20:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-17 20:41 [glibc] Add IPPROTO_L2TP from Linux 6.1 to netinet/in.h Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).