about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/gnu/netinet/tcp.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bcc4a77e0..ffeb532c1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
+
 	* sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
 	(PF_MAX): Set to 44.
 	(AF_SMC): New macro.
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>