diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-02-06 00:42:22 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-02-06 00:42:22 +0000 |
commit | c2b84df9b0207d1233b2de07b836a773889d93d8 (patch) | |
tree | 98a01465f3c5d5373ca77d5baa0c17f213503124 /sysdeps/gnu/netinet | |
parent | 41376f8c626612335649beaa71dc981f017350ad (diff) | |
download | glibc-c2b84df9b0207d1233b2de07b836a773889d93d8.tar glibc-c2b84df9b0207d1233b2de07b836a773889d93d8.tar.gz glibc-c2b84df9b0207d1233b2de07b836a773889d93d8.tar.bz2 glibc-c2b84df9b0207d1233b2de07b836a773889d93d8.zip |
Add TCP_FASTOPEN_KEY, TCP_FASTOPEN_NO_COOKIE from Linux 4.15.
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.
* sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
(TCP_FASTOPEN_NO_COOKIE): Likewise.
Diffstat (limited to 'sysdeps/gnu/netinet')
-rw-r--r-- | sysdeps/gnu/netinet/tcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h index 75973f0955..44a72e929e 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> |