summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/meta.t
blob: f733d22de2c3b6658e8709ca51624d0131746584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
:input;type filter hook input priority 0

*ip;test-ip4;input

icmp type echo-request;ok
meta l4proto icmp icmp type echo-request;ok;icmp type echo-request
meta l4proto ipv6-icmp icmpv6 type nd-router-advert;ok;icmpv6 type nd-router-advert
meta l4proto 58 icmpv6 type nd-router-advert;ok;icmpv6 type nd-router-advert
icmpv6 type nd-router-advert;ok

meta ibrname "br0";fail
meta obrname "br0";fail

meta sdif "lo" accept;ok
meta sdifname != "vrf1" accept;ok