From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id 226323857C49; Tue, 3 May 2022 09:38:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 226323857C49 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc/release/2.34/master] Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h X-Act-Checkin: glibc X-Git-Author: Joseph Myers X-Git-Refname: refs/heads/release/2.34/master X-Git-Oldrev: 0499c3a95fb864284fef36d3e9c5a54f6646b2db X-Git-Newrev: f858bc309315a03ff6b1a048f59405c159d23430 Message-Id: <20220503093845.226323857C49@sourceware.org> Date: Tue, 3 May 2022 09:38:45 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2022 09:38:45 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f858bc309315a03ff6b1a048f59405c159d23430 commit f858bc309315a03ff6b1a048f59405c159d23430 Author: Joseph Myers Date: Mon Feb 21 22:49:36 2022 +0000 Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h Linux 5.16 adds constants SOL_MPTCP and SOL_MCTP to the getsockopt / setsockopt levels; add these constants to bits/socket.h. Tested for x86_64. (cherry picked from commit fdc1ae67fef27eea1445bab4bdfe2f0fb3bc7aa1) Diff: --- sysdeps/unix/sysv/linux/bits/socket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 7bb9e863d7..c81fab8409 100644 --- a/sysdeps/unix/sysv/linux/bits/socket.h +++ b/sysdeps/unix/sysv/linux/bits/socket.h @@ -169,6 +169,8 @@ typedef __socklen_t socklen_t; #define SOL_KCM 281 #define SOL_TLS 282 #define SOL_XDP 283 +#define SOL_MPTCP 284 +#define SOL_MCTP 285 /* Maximum queue length specifiable by listen. */ #define SOMAXCONN 4096