summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/tcpopt.t.payload
diff options
context:
space:
mode:
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 ]