summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/icmpX.t
blob: 9430b3d3d579ff390ff67aa9a1ccdef9afdc4ebf (plain)
1
2
3
4
5
6
7
8
9
10
:input;type filter hook input priority 0

*inet;test-inet;input

ip protocol icmp icmp type echo-request;ok;ip protocol 1 icmp type echo-request
icmp type echo-request;ok
ip6 nexthdr icmpv6 icmpv6 type echo-request;ok;ip6 nexthdr 58 icmpv6 type echo-request
icmpv6 type echo-request;ok
# must not remove 'ip protocol' dependency, this explicitly matches icmpv6-in-ipv4.
ip protocol ipv6-icmp meta l4proto ipv6-icmp icmpv6 type 1;ok;ip protocol 58 icmpv6 type destination-unreachable