]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
uapi: fix tcp.h repair
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 23 Jul 2018 20:47:22 +0000 (13:47 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 23 Jul 2018 20:47:22 +0000 (13:47 -0700)
Upstream define for TCP_REPAIR changed.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/tcp.h

index 2e766cf303fbe311464a7801d40aa0bcf2de7a59..99e329b736e2e57cef9dab7d035c0a9aba741737 100644 (file)
@@ -127,6 +127,10 @@ enum {
 
 #define TCP_CM_INQ             TCP_INQ
 
+#define TCP_REPAIR_ON          1
+#define TCP_REPAIR_OFF         0
+#define TCP_REPAIR_OFF_NO_WP   -1      /* Turn off without window probes */
+
 struct tcp_repair_opt {
        __u32   opt_code;
        __u32   opt_val;