]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
include: add TCP fastopen option
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 27 Oct 2017 06:30:48 +0000 (08:30 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 27 Oct 2017 06:30:48 +0000 (08:30 +0200)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/rtnetlink.h
include/uapi/linux/tcp.h

index 813e9e0767d3361f4eec0ea853e9e651644967a2..ff0eec7329c6f9afef67f547a4653fecfce8e158 100644 (file)
@@ -430,6 +430,8 @@ enum {
 #define RTAX_QUICKACK RTAX_QUICKACK
        RTAX_CC_ALGO,
 #define RTAX_CC_ALGO RTAX_CC_ALGO
+       RTAX_FASTOPEN_NO_COOKIE,
+#define RTAX_FASTOPEN_NO_COOKIE RTAX_FASTOPEN_NO_COOKIE
        __RTAX_MAX
 };
 
index 8edad3f9426869dd5a464dddb414c54cc52d2deb..e898fd66b37ff101bb5e31eac7a8de39cf94699d 100644 (file)
@@ -119,6 +119,8 @@ enum {
 #define TCP_FASTOPEN_CONNECT   30      /* Attempt FastOpen with connect */
 #define TCP_ULP                        31      /* Attach a ULP to a TCP connection */
 #define TCP_MD5SIG_EXT         32      /* TCP MD5 Signature with extensions */
+#define TCP_FASTOPEN_KEY       33      /* Set the key for Fast Open (cookie) */
+#define TCP_FASTOPEN_NO_COOKIE 34      /* Enable TFO without a TFO cookie */
 
 struct tcp_repair_opt {
        __u32   opt_code;