netinet/tcp.h: add TCP_* socket options from linux v4.15
authorSzabolcs Nagy <nsz@port70.net>
Fri, 2 Feb 2018 20:19:46 +0000 (20:19 +0000)
committerRich Felker <dalias@aerifal.cx>
Thu, 22 Feb 2018 23:49:03 +0000 (18:49 -0500)
TCP_FASTOPEN_KEY is new in 1fba70e5b6bed53496ba1f1f16127f5be01b5fb6
TCP_FASTOPEN_NO_COOKIE is new in 71c02379c762cb616c00fd5c4ed253fbf6bbe11b

include/netinet/tcp.h

index 94a4f8e..2747f4e 100644 (file)
@@ -34,6 +34,8 @@
 #define TCP_FASTOPEN_CONNECT 30
 #define TCP_ULP          31
 #define TCP_MD5SIG_EXT   32
+#define TCP_FASTOPEN_KEY 33
+#define TCP_FASTOPEN_NO_COOKIE 34
 
 #define TCP_ESTABLISHED  1
 #define TCP_SYN_SENT     2