summaryrefslogtreecommitdiffstats
path: root/tests/py/any
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-01-12 15:12:22 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-01-13 13:03:03 +0100
commitc2494dd6daac9a91f090504de6d38b7f404f0c1f (patch)
tree4bc598ec00b1a1fb20ceed24c784a8ad9edc7e24 /tests/py/any
parent905e9d2d09ae9d0032436c1b443ca91c65283c19 (diff)
tests/py: netdev family with ingress chain
This patch enables tests for the new netdev family and its ingress chain. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/any')
-rw-r--r--tests/py/any/frag.t2
-rw-r--r--tests/py/any/limit.t2
-rw-r--r--tests/py/any/meta.t2
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/py/any/frag.t b/tests/py/any/frag.t
index 91386370..8b5e34ab 100644
--- a/tests/py/any/frag.t
+++ b/tests/py/any/frag.t
@@ -1,10 +1,12 @@
:output;type filter hook output priority 0
+:ingress;type filter hook ingress device lo priority 0
*ip;test-ip4;output
*ip6;test-ip6;output
*inet;test-inet;output
*arp;test-arp;output
*bridge;test-bridge;output
+*netdev;test-netdev;ingress
frag nexthdr tcp;ok;frag nexthdr 6
frag nexthdr != icmp;ok;frag nexthdr != 1
diff --git a/tests/py/any/limit.t b/tests/py/any/limit.t
index 2dcab815..358b5abb 100644
--- a/tests/py/any/limit.t
+++ b/tests/py/any/limit.t
@@ -1,10 +1,12 @@
:output;type filter hook output priority 0
+:ingress;type filter hook ingress device lo priority 0
*ip;test-ip4;output
*ip6;test-ip6;output
*inet;test-inet;output
*arp;test-arp;output
*bridge;test-bridge;output
+*netdev;test-netdev;ingress
limit rate 400/minute;ok
limit rate 20/second;ok
diff --git a/tests/py/any/meta.t b/tests/py/any/meta.t
index 245f0ece..c10297a4 100644
--- a/tests/py/any/meta.t
+++ b/tests/py/any/meta.t
@@ -1,10 +1,12 @@
:input;type filter hook input priority 0
+:ingress;type filter hook ingress device lo priority 0
*ip;test-ip4;input
*ip6;test-ip6;input
*inet;test-inet;input
*arp;test-arp;input
*bridge;test-bridge;input
+*netdev;test-netdev;ingress
meta length 1000;ok
meta length 22;ok