From 17841a1975cd1c4346f243144f775a8cb17c50b5 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 8 Aug 2017 13:13:01 +0200 Subject: tests: add tcp option set support / tcp mss mangling test cases Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- tests/py/inet/tcpopt.t.payload | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/py/inet/tcpopt.t.payload') 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 ] -- cgit v1.2.3