diff options
Diffstat (limited to 'tests/py/netdev/reject.t.payload')
| -rw-r--r-- | tests/py/netdev/reject.t.payload | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/tests/py/netdev/reject.t.payload b/tests/py/netdev/reject.t.payload index d014adab..42c4d2bf 100644 --- a/tests/py/netdev/reject.t.payload +++ b/tests/py/netdev/reject.t.payload @@ -1,85 +1,85 @@ # reject with icmp host-unreachable netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 1 ] # reject with icmp net-unreachable netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 0 ] # reject with icmp prot-unreachable netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 2 ] # reject with icmp port-unreachable netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 3 ] # reject with icmp net-prohibited netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 9 ] # reject with icmp host-prohibited netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 10 ] # reject with icmp admin-prohibited netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 13 ] # reject with icmpv6 no-route netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 0 code 0 ] # reject with icmpv6 admin-prohibited netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 0 code 1 ] # reject with icmpv6 addr-unreachable netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 0 code 3 ] # reject with icmpv6 port-unreachable netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 0 code 4 ] # reject with icmpv6 policy-fail netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 0 code 5 ] # reject with icmpv6 reject-route netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 0 code 6 ] # mark 12345 reject with tcp reset netdev [ meta load l4proto => reg 1 ] - [ cmp eq reg 1 0x00000006 ] + [ cmp eq reg 1 0x06 ] [ meta load mark => reg 1 ] [ cmp eq reg 1 0x00003039 ] [ reject type 1 code 0 ] @@ -91,13 +91,13 @@ netdev # meta protocol ip reject netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 3 ] # meta protocol ip6 reject netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 0 code 4 ] # reject with icmpx host-unreachable @@ -119,24 +119,23 @@ netdev # meta protocol ip reject with icmp host-unreachable netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 0 code 1 ] # meta protocol ip6 reject with icmpv6 no-route netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 0 code 0 ] # meta protocol ip reject with icmpx admin-prohibited netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x00000008 ] + [ cmp eq reg 1 0x0800 ] [ reject type 2 code 3 ] # meta protocol ip6 reject with icmpx admin-prohibited netdev [ meta load protocol => reg 1 ] - [ cmp eq reg 1 0x0000dd86 ] + [ cmp eq reg 1 0x86dd ] [ reject type 2 code 3 ] - |
