public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add SOL_SMC from Linux 5.18 to bits/socket.h
@ 2022-05-30 20:31 Joseph Myers
  2022-05-31 11:44 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2022-05-30 20:31 UTC (permalink / raw)
  To: libc-alpha

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

Tested for x86_64.

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

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Add SOL_SMC from Linux 5.18 to bits/socket.h
  2022-05-30 20:31 Add SOL_SMC from Linux 5.18 to bits/socket.h Joseph Myers
@ 2022-05-31 11:44 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2022-05-31 11:44 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

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.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-31 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-30 20:31 Add SOL_SMC from Linux 5.18 to bits/socket.h Joseph Myers
2022-05-31 11:44 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).