about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits/socket.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2022-05-31 13:49:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2022-05-31 13:49:53 +0000
commit6488f4d00653b489e7969c0a489dc665c26514a8 (patch)
tree5f7deb978bb097460f012e999c7a6699b38b099f /sysdeps/unix/sysv/linux/bits/socket.h
parent81e7fdd7ccff3745db0b0d8ffa1ec9fab6dcee67 (diff)
downloadglibc-6488f4d00653b489e7969c0a489dc665c26514a8.tar.gz
glibc-6488f4d00653b489e7969c0a489dc665c26514a8.tar.xz
glibc-6488f4d00653b489e7969c0a489dc665c26514a8.zip
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/socket.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h1
1 files changed, 1 insertions, 0 deletions
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