projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e7fdd
)
Add SOL_SMC from Linux 5.18 to bits/socket.h
author
Joseph Myers
<joseph@codesourcery.com>
Tue, 31 May 2022 13:49:53 +0000
(13:49 +0000)
committer
Joseph Myers
<joseph@codesourcery.com>
Tue, 31 May 2022 13:49:53 +0000
(13:49 +0000)
Linux 5.18 adds a constant SOL_SMC to the getsockopt / setsockopt
levels; add this constant to bits/socket.h.
Tested for x86_64.
sysdeps/unix/sysv/linux/bits/socket.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/bits/socket.h
b/sysdeps/unix/sysv/linux/bits/socket.h
index
88fce77
..
4f1f810
100644
(file)
--- 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