public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
To: Joseph Myers <joseph@codesourcery.com>, libc-alpha@sourceware.org
Subject: Re: Add IPPROTO_L2TP from Linux 6.1 to netinet/in.h
Date: Tue, 17 Jan 2023 17:07:19 -0300	[thread overview]
Message-ID: <786166fa-c6f3-ae58-d7c6-3cfccc301cbe@linaro.org> (raw)
In-Reply-To: <1ef32960-f07a-7021-d9a6-6396c4dbbc93@codesourcery.com>



On 09/01/23 18:50, Joseph Myers wrote:
> 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.

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

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

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09 21:50 Joseph Myers
2023-01-17 17:49 ` Ping " Joseph Myers
2023-01-17 20:07 ` Adhemerval Zanella Netto [this message]

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=786166fa-c6f3-ae58-d7c6-3cfccc301cbe@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@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).