mirror of
https://sourceware.org/git/glibc.git
synced 2025-05-28 16:21:30 +03:00
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.
This commit is contained in:
parent
ef0e5f2f5c
commit
25e39b4229
@ -1,5 +1,7 @@
|
|||||||
2017-05-01 Joseph Myers <joseph@codesourcery.com>
|
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.
|
* sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
|
||||||
(PF_MAX): Set to 44.
|
(PF_MAX): Set to 44.
|
||||||
(AF_SMC): New macro.
|
(AF_SMC): New macro.
|
||||||
|
@ -70,6 +70,7 @@
|
|||||||
#define TCP_SAVED_SYN 28 /* Get SYN headers recorded for
|
#define TCP_SAVED_SYN 28 /* Get SYN headers recorded for
|
||||||
connection. */
|
connection. */
|
||||||
#define TCP_REPAIR_WINDOW 29 /* Get/set window parameters. */
|
#define TCP_REPAIR_WINDOW 29 /* Get/set window parameters. */
|
||||||
|
#define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect. */
|
||||||
|
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user