From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1105) id 09FF03857BB1; Tue, 31 May 2022 13:50:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 09FF03857BB1 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 SOL_SMC from Linux 5.18 to bits/socket.h X-Act-Checkin: glibc X-Git-Author: Joseph Myers X-Git-Refname: refs/heads/master X-Git-Oldrev: 81e7fdd7ccff3745db0b0d8ffa1ec9fab6dcee67 X-Git-Newrev: 6488f4d00653b489e7969c0a489dc665c26514a8 Message-Id: <20220531135009.09FF03857BB1@sourceware.org> Date: Tue, 31 May 2022 13:50:09 +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, 31 May 2022 13:50:09 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6488f4d00653b489e7969c0a489dc665c26514a8 commit 6488f4d00653b489e7969c0a489dc665c26514a8 Author: Joseph Myers Date: Tue May 31 13:49:53 2022 +0000 Add SOL_SMC from Linux 5.18 to bits/socket.h Linux 5.18 adds a constant SOL_SMC to the getsockopt / setsockopt levels; add this constant to bits/socket.h. Tested for x86_64. Diff: --- sysdeps/unix/sysv/linux/bits/socket.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 88fce77349..4f1f810ea1 100644 --- a/sysdeps/unix/sysv/linux/bits/socket.h +++ b/sysdeps/unix/sysv/linux/bits/socket.h @@ -171,6 +171,7 @@ typedef __socklen_t socklen_t; #define SOL_XDP 283 #define SOL_MPTCP 284 #define SOL_MCTP 285 +#define SOL_SMC 286 /* Maximum queue length specifiable by listen. */ #define SOMAXCONN 4096