summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/rt.t.payload.ip6
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/rt.t.payload.ip6')
-rw-r--r--tests/py/ip6/rt.t.payload.ip612
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/py/ip6/rt.t.payload.ip6 b/tests/py/ip6/rt.t.payload.ip6
index 3245725b..b96980be 100644
--- a/tests/py/ip6/rt.t.payload.ip6
+++ b/tests/py/ip6/rt.t.payload.ip6
@@ -45,8 +45,7 @@ ip6 test-ip6 input
# rt nexthdr != 33-45
ip6 test-ip6 input
[ exthdr load 1b @ 43 + 0 => reg 1 ]
- [ cmp lt reg 1 0x00000021 ]
- [ cmp gt reg 1 0x0000002d ]
+ [ range neq reg 1 0x00000021 0x0000002d ]
# rt nexthdr { 33, 55, 67, 88}
__set%d test-ip6 3
@@ -83,8 +82,7 @@ ip6 test-ip6 input
# rt hdrlength != 33-45
ip6 test-ip6 input
[ exthdr load 1b @ 43 + 1 => reg 1 ]
- [ cmp lt reg 1 0x00000021 ]
- [ cmp gt reg 1 0x0000002d ]
+ [ range neq reg 1 0x00000021 0x0000002d ]
# rt hdrlength { 33, 55, 67, 88}
__set%d test-ip6 3
@@ -121,8 +119,7 @@ ip6 test-ip6 input
# rt type != 33-45
ip6 test-ip6 input
[ exthdr load 1b @ 43 + 2 => reg 1 ]
- [ cmp lt reg 1 0x00000021 ]
- [ cmp gt reg 1 0x0000002d ]
+ [ range neq reg 1 0x00000021 0x0000002d ]
# rt type { 33, 55, 67, 88}
__set%d test-ip6 3
@@ -159,8 +156,7 @@ ip6 test-ip6 input
# rt seg-left != 33-45
ip6 test-ip6 input
[ exthdr load 1b @ 43 + 3 => reg 1 ]
- [ cmp lt reg 1 0x00000021 ]
- [ cmp gt reg 1 0x0000002d ]
+ [ range neq reg 1 0x00000021 0x0000002d ]
# rt seg-left { 33, 55, 67, 88}
__set%d test-ip6 3