]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add TCP_FASTOPEN_CONNECT from Linux 4.11 to netinet/tcp.h.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 1 May 2017 16:18:31 +0000 (16:18 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 1 May 2017 16:18:31 +0000 (16:18 +0000)
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.

ChangeLog
sysdeps/gnu/netinet/tcp.h

index 9bcc4a77e0f14be780266e4b039f557af75d4165..ffeb532c1a24343e43f6eb15ae0eb464f891fddd 100644 (file)
--- 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.
index 241bdc70db4090522c38e077c1c8eec2a0ceb289..af94b8e82c4d118dcca86166a8f1d57ffb731453 100644 (file)
@@ -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>