summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/tcpopt.t.payload
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-08-08 13:13:01 +0200
committerFlorian Westphal <fw@strlen.de>2017-08-22 23:51:09 +0200
commit17841a1975cd1c4346f243144f775a8cb17c50b5 (patch)
treec5665cd2b719417cd7081a787b75aacec6229571 /tests/py/inet/tcpopt.t.payload
parent444ac7bee1452cdf59ec44400db210423052d109 (diff)
tests: add tcp option set support / tcp mss mangling test cases
Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/tcpopt.t.payload')
-rw-r--r--tests/py/inet/tcpopt.t.payload5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/py/inet/tcpopt.t.payload b/tests/py/inet/tcpopt.t.payload
index 10cf0c00..7e254ed3 100644
--- a/tests/py/inet/tcpopt.t.payload
+++ b/tests/py/inet/tcpopt.t.payload
@@ -193,3 +193,8 @@ inet test-inet input
[ cmp eq reg 1 0x00000006 ]
[ exthdr load tcpopt 1b @ 3 + 0 present => reg 1 ]
[ cmp eq reg 1 0x00000000 ]
+
+# tcp option maxseg size set 1360
+inet test-inet input
+ [ immediate reg 1 0x00005005 ]
+ [ exthdr write tcpopt reg 1 => 2b @ 2 + 2 ]