From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1105) id E0EE63858D28; Tue, 17 Jan 2023 20:41:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E0EE63858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673988076; bh=SkMdQvR29268hBnRnQFKlmqQ/mu/qBQvS+CTARh+/74=; h=From:To:Subject:Date:From; b=OKl55NUCO62zsTAIDP+7/HD5k7qySbZ2Svwc0Osx+NLGY5iELD/3PMn1WWrp++5c2 7LSzFiBa/UC6JZhEQEbw+0QC6bhoNyY96V2SOrw/EkhMOFyZofumZLwgojggXoS4nr VrgfmbbtBDBl2xoSGgYmqBHaGDrsq6OJwUY6Emfs= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Joseph Myers To: glibc-cvs@sourceware.org Subject: [glibc] Add IPPROTO_L2TP from Linux 6.1 to netinet/in.h X-Act-Checkin: glibc X-Git-Author: Joseph Myers X-Git-Refname: refs/heads/master X-Git-Oldrev: 55599d480437dcf129b41b95be32b48f2a9e5da9 X-Git-Newrev: b5e3d66b964569acc919199ee34f3e9c28c5d6d0 Message-Id: <20230117204116.E0EE63858D28@sourceware.org> Date: Tue, 17 Jan 2023 20:41:16 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b5e3d66b964569acc919199ee34f3e9c28c5d6d0 commit b5e3d66b964569acc919199ee34f3e9c28c5d6d0 Author: Joseph Myers 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. */