]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h
authorJoseph Myers <joseph@codesourcery.com>
Mon, 21 Feb 2022 22:49:36 +0000 (22:49 +0000)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 3 May 2022 09:08:52 +0000 (11:08 +0200)
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)

sysdeps/unix/sysv/linux/bits/socket.h

index 7bb9e863d7329da96f98e5dc614269eef765ffae..c81fab840918924e626bedd8a471b94ec2acd1da 100644 (file)
@@ -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