08c3a6
commit f858bc309315a03ff6b1a048f59405c159d23430
08c3a6
Author: Joseph Myers <joseph@codesourcery.com>
08c3a6
Date:   Mon Feb 21 22:49:36 2022 +0000
08c3a6
08c3a6
    Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h
08c3a6
    
08c3a6
    Linux 5.16 adds constants SOL_MPTCP and SOL_MCTP to the getsockopt /
08c3a6
    setsockopt levels; add these constants to bits/socket.h.
08c3a6
    
08c3a6
    Tested for x86_64.
08c3a6
    
08c3a6
    (cherry picked from commit fdc1ae67fef27eea1445bab4bdfe2f0fb3bc7aa1)
08c3a6
08c3a6
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
08c3a6
index 7bb9e863d7329da9..c81fab840918924e 100644
08c3a6
--- a/sysdeps/unix/sysv/linux/bits/socket.h
08c3a6
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
08c3a6
@@ -169,6 +169,8 @@ typedef __socklen_t socklen_t;
08c3a6
 #define SOL_KCM		281
08c3a6
 #define SOL_TLS		282
08c3a6
 #define SOL_XDP		283
08c3a6
+#define SOL_MPTCP	284
08c3a6
+#define SOL_MCTP	285
08c3a6
 
08c3a6
 /* Maximum queue length specifiable by listen.  */
08c3a6
 #define SOMAXCONN	4096