* Add TCP_FASTOPEN_KEY, TCP_FASTOPEN_NO_COOKIE from Linux 4.15
@ 2018-02-01 18:17 Joseph Myers
2018-02-06 0:55 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2018-02-01 18:17 UTC (permalink / raw)
To: libc-alpha
[Proposed for once the release changes for 2.27, and the post-release
changes opening master for development for 2.28, have been committed.]
This patch adds the TCP_FASTOPEN_KEY and TCP_FASTOPEN_NO_COOKIE macros
from Linux 4.15 to sysdeps/gnu/netinet/tcp.h.
Tested for x86_64.
2018-02-01 Joseph Myers <joseph@codesourcery.com>
* sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
(TCP_FASTOPEN_NO_COOKIE): Likewise.
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index 75973f0..44a72e9 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -73,6 +73,8 @@
#define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect. */
#define TCP_ULP 31 /* Attach a ULP to a TCP connection. */
#define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions. */
+#define TCP_FASTOPEN_KEY 33 /* Set the key for Fast Open (cookie). */
+#define TCP_FASTOPEN_NO_COOKIE 34 /* Enable TFO without a TFO cookie. */
#ifdef __USE_MISC
# include <sys/types.h>
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add TCP_FASTOPEN_KEY, TCP_FASTOPEN_NO_COOKIE from Linux 4.15
2018-02-01 18:17 Add TCP_FASTOPEN_KEY, TCP_FASTOPEN_NO_COOKIE from Linux 4.15 Joseph Myers
@ 2018-02-06 0:55 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2018-02-06 0:55 UTC (permalink / raw)
To: libc-alpha
[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]
On Thu, Feb 01, 2018 at 06:17:15PM +0000, Joseph Myers wrote:
> [Proposed for once the release changes for 2.27, and the post-release
> changes opening master for development for 2.28, have been committed.]
>
> This patch adds the TCP_FASTOPEN_KEY and TCP_FASTOPEN_NO_COOKIE macros
> from Linux 4.15 to sysdeps/gnu/netinet/tcp.h.
>
> Tested for x86_64.
>
> 2018-02-01 Joseph Myers <joseph@codesourcery.com>
>
> * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
> (TCP_FASTOPEN_NO_COOKIE): Likewise.
>
> diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
> index 75973f0..44a72e9 100644
> --- a/sysdeps/gnu/netinet/tcp.h
> +++ b/sysdeps/gnu/netinet/tcp.h
> @@ -73,6 +73,8 @@
> #define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect. */
> #define TCP_ULP 31 /* Attach a ULP to a TCP connection. */
> #define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions. */
> +#define TCP_FASTOPEN_KEY 33 /* Set the key for Fast Open (cookie). */
> +#define TCP_FASTOPEN_NO_COOKIE 34 /* Enable TFO without a TFO cookie. */
>
> #ifdef __USE_MISC
> # include <sys/types.h>
I've double-checked that this change matches Linux 4.15 headers.
--
ldv
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-06 0:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-01 18:17 Add TCP_FASTOPEN_KEY, TCP_FASTOPEN_NO_COOKIE from Linux 4.15 Joseph Myers
2018-02-06 0:55 ` Dmitry V. Levin
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).