path: root/tests/py/any/tcpopt.t
diff options
authorPhil Sutter <>2020-03-10 12:56:18 +0100
committerPhil Sutter <>2020-03-10 16:32:53 +0100
commitd566fecdfcc37b721729d26a90af01fc87e09c89 (patch)
tree73284c190ef9aa4712b1d3557b994ec8d3b7cf31 /tests/py/any/tcpopt.t
parent64b9aa3803dd1f6ca529a1f3bd7aa0875bdbd9d9 (diff)
tests/py: Move tcpopt.t to any/ directory
Merge tcpopt.t files in ip, ip6 and inet into a common one, they were just marignally different. Signed-off-by: Phil Sutter <>
Diffstat (limited to 'tests/py/any/tcpopt.t')
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/py/any/tcpopt.t b/tests/py/any/tcpopt.t
new file mode 100644
index 00000000..08b1dcb3
--- /dev/null
+++ b/tests/py/any/tcpopt.t
@@ -0,0 +1,45 @@
+:input;type filter hook input priority 0
+tcp option eol kind 1;ok
+tcp option noop kind 1;ok
+tcp option maxseg kind 1;ok
+tcp option maxseg length 1;ok
+tcp option maxseg size 1;ok
+tcp option window kind 1;ok
+tcp option window length 1;ok
+tcp option window count 1;ok
+tcp option sack-permitted kind 1;ok
+tcp option sack-permitted length 1;ok
+tcp option sack kind 1;ok
+tcp option sack length 1;ok
+tcp option sack left 1;ok
+tcp option sack0 left 1;ok;tcp option sack left 1
+tcp option sack1 left 1;ok
+tcp option sack2 left 1;ok
+tcp option sack3 left 1;ok
+tcp option sack right 1;ok
+tcp option sack0 right 1;ok;tcp option sack right 1
+tcp option sack1 right 1;ok
+tcp option sack2 right 1;ok
+tcp option sack3 right 1;ok
+tcp option timestamp kind 1;ok
+tcp option timestamp length 1;ok
+tcp option timestamp tsval 1;ok
+tcp option timestamp tsecr 1;ok
+tcp option foobar;fail
+tcp option foo bar;fail
+tcp option eol left;fail
+tcp option eol left 1;fail
+tcp option eol left 1;fail
+tcp option sack window;fail
+tcp option sack window 1;fail
+tcp option window exists;ok
+tcp option window missing;ok
+tcp option maxseg size set 1360;ok