about summary refs log tree commit diff
path: root/sysdeps/gnu
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-05-01 16:18:31 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-05-01 16:18:31 +0000
commit25e39b4229fb365a605dc4c8f5d6426a77bc08a6 (patch)
tree22f6d91125a265ea2ba05698d9da86e022868978 /sysdeps/gnu
parentef0e5f2f5c967a4a37b93e28eef6716c4dcda85d (diff)
downloadglibc-25e39b4229fb365a605dc4c8f5d6426a77bc08a6.tar.gz
glibc-25e39b4229fb365a605dc4c8f5d6426a77bc08a6.tar.xz
glibc-25e39b4229fb365a605dc4c8f5d6426a77bc08a6.zip
Add TCP_FASTOPEN_CONNECT from Linux 4.11 to netinet/tcp.h.
This patch adds the TCP_FASTOPEN_CONNECT macro from Linux 4.11 to
sysdeps/gnu/netinet/tcp.h.

Tested for x86-64.

	* sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r--sysdeps/gnu/netinet/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index 241bdc70db..af94b8e82c 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -70,6 +70,7 @@
 #define TCP_SAVED_SYN		 28 /* Get SYN headers recorded for
 				       connection.  */
 #define TCP_REPAIR_WINDOW	 29 /* Get/set window parameters.  */
+#define TCP_FASTOPEN_CONNECT	 30 /* Attempt FastOpen with connect.  */
 
 #ifdef __USE_MISC
 # include <sys/types.h>