summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/sctp.t.payload.ip
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/sctp.t.payload.ip')
-rw-r--r--tests/py/inet/sctp.t.payload.ip12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/py/inet/sctp.t.payload.ip b/tests/py/inet/sctp.t.payload.ip
index 6e07a4c5..fa6ea435 100644
--- a/tests/py/inet/sctp.t.payload.ip
+++ b/tests/py/inet/sctp.t.payload.ip
@@ -25,8 +25,7 @@ ip test-ip4 input
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x00000084 ]
[ payload load 2b @ transport header + 0 => reg 1 ]
- [ cmp lt reg 1 0x00001700 ]
- [ cmp gt reg 1 0x00002c00 ]
+ [ range neq reg 1 0x00001700 0x00002c00 ]
# sctp sport { 23, 24, 25}
__set%d test-ip4 3
@@ -75,8 +74,7 @@ ip test-ip4 input
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x00000084 ]
[ payload load 2b @ transport header + 2 => reg 1 ]
- [ cmp lt reg 1 0x00001700 ]
- [ cmp gt reg 1 0x00002c00 ]
+ [ range neq reg 1 0x00001700 0x00002c00 ]
# sctp dport { 23, 24, 25}
__set%d test-ip4 3
@@ -125,8 +123,7 @@ ip test-ip4 input
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x00000084 ]
[ payload load 4b @ transport header + 8 => reg 1 ]
- [ cmp lt reg 1 0x20000000 ]
- [ cmp gt reg 1 0x6f000000 ]
+ [ range neq reg 1 0x20000000 0x6f000000 ]
# sctp checksum { 22, 33, 44}
__set%d test-ip4 3
@@ -175,8 +172,7 @@ ip test-ip4 input
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x00000084 ]
[ payload load 4b @ transport header + 4 => reg 1 ]
- [ cmp lt reg 1 0x21000000 ]
- [ cmp gt reg 1 0x2d000000 ]
+ [ range neq reg 1 0x21000000 0x2d000000 ]
# sctp vtag {33, 55, 67, 88}
__set%d test-ip4 3