Explorar o código

add TCP_FASTOPEN_CONNECT tcp socket option from linux v4.11

new in linux commit 19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2
Szabolcs Nagy %!s(int64=7) %!d(string=hai) anos
pai
achega
ee3ae7827b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/netinet/tcp.h

+ 1 - 0
include/netinet/tcp.h

@@ -31,6 +31,7 @@
 #define TCP_SAVE_SYN     27
 #define TCP_SAVED_SYN    28
 #define TCP_REPAIR_WINDOW 29
+#define TCP_FASTOPEN_CONNECT 30
 
 #define TCP_ESTABLISHED  1
 #define TCP_SYN_SENT     2