* Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h
@ 2022-02-18 1:12 Joseph Myers
2022-02-21 18:05 ` Adhemerval Zanella
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2022-02-18 1:12 UTC (permalink / raw)
To: libc-alpha
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.
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
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h
2022-02-18 1:12 Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h Joseph Myers
@ 2022-02-21 18:05 ` Adhemerval Zanella
0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella @ 2022-02-21 18:05 UTC (permalink / raw)
To: libc-alpha
On 17/02/2022 22:12, Joseph Myers wrote:
> 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.
>
LGTM, thanks.
> 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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-21 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 1:12 Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h Joseph Myers
2022-02-21 18:05 ` Adhemerval Zanella
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).