aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2022-02-21 22:49:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2022-02-21 22:49:36 +0000
commitfdc1ae67fef27eea1445bab4bdfe2f0fb3bc7aa1 (patch)
tree12cb4fc4388399bda25f49cac3e6286851449056
parent2c0915cbf570cb9c8a65f1d20a55c5a7238e5b63 (diff)
downloadglibc-fdc1ae67fef27eea1445bab4bdfe2f0fb3bc7aa1.tar
glibc-fdc1ae67fef27eea1445bab4bdfe2f0fb3bc7aa1.tar.gz
glibc-fdc1ae67fef27eea1445bab4bdfe2f0fb3bc7aa1.tar.bz2
glibc-fdc1ae67fef27eea1445bab4bdfe2f0fb3bc7aa1.zip
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.
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h2
1 files changed, 2 insertions, 0 deletions
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