From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id 9D5123857351; Tue, 3 May 2022 09:03:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D5123857351 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.35/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.35/master X-Git-Oldrev: eed29011f9b29317a4025b2a6e04a531663a1023 X-Git-Newrev: 95759abbf3c33e66e1e2663f80406eae3dd66587 Message-Id: <20220503090322.9D5123857351@sourceware.org> Date: Tue, 3 May 2022 09:03:22 +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:03:22 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=95759abbf3c33e66e1e2663f80406eae3dd66587 commit 95759abbf3c33e66e1e2663f80406eae3dd66587 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 79da9e7597..88fce77349 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