public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Joseph Myers <jsm28@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] Add IPPROTO_L2TP from Linux 6.1 to netinet/in.h
Date: Tue, 17 Jan 2023 20:41:16 +0000 (GMT)	[thread overview]
Message-ID: <20230117204116.E0EE63858D28@sourceware.org> (raw)

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

                 reply	other threads:[~2023-01-17 20:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230117204116.E0EE63858D28@sourceware.org \
    --to=jsm28@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).