diff mbox series

Add SOL_SMC from Linux 5.18 to bits/socket.h

Message ID alpine.DEB.2.22.394.2205302030440.1906419@digraph.polyomino.org.uk
State New
Headers show
Series Add SOL_SMC from Linux 5.18 to bits/socket.h | expand

Commit Message

Joseph Myers May 30, 2022, 8:31 p.m. UTC
Linux 5.18 adds a constant SOL_SMC to the getsockopt / setsockopt
levels; add this constant to bits/socket.h.

Tested for x86_64.

Comments

Andreas Schwab May 31, 2022, 11:44 a.m. UTC | #1
On Mai 30 2022, Joseph Myers wrote:

> Linux 5.18 adds a constant SOL_SMC to the getsockopt / setsockopt
> levels; add this constant to bits/socket.h.

Ok.
diff mbox series

Patch

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