summaryrefslogtreecommitdiffstats
path: root/tests/regression/ip6/chains.t
diff options
context:
space:
mode:
authorAna Rey <anarey@gmail.com>2014-09-18 12:39:17 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-09-18 12:52:44 +0200
commita4253ba1f72face3f3d76cb3559c1ffb07625388 (patch)
tree74c2e135af2753e0c7b086eaad142801535a7847 /tests/regression/ip6/chains.t
parent08435cc55fbd89b271309d5ebba3dda775232898 (diff)
tests: Add ip6 folder with test files.
"ip6" folder contains the test files that are executed in ip6 and inet family of tables. These test files are executed with nft-tests.py Signed-off-by: Ana Rey <anarey@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/regression/ip6/chains.t')
-rw-r--r--tests/regression/ip6/chains.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/regression/ip6/chains.t b/tests/regression/ip6/chains.t
new file mode 100644
index 00000000..ef975b23
--- /dev/null
+++ b/tests/regression/ip6/chains.t
@@ -0,0 +1,18 @@
+*ip6;test-ip6
+-*inet;test-inet
+
+# filter chains available are: input, output, forward, forward, prerouting and postrouting.
+:filter-input;type filter hook input priority 0
+:filter-prer;type filter hook prerouting priority 0
+:filter-forw-t;type filter hook forward priority 0
+:filter-out-t;type filter hook output priority 0
+:filter-post-t;type filter hook postrouting priority 0
+
+# nat chains available are: input, output, forward, prerouting and postrouting.
+:nat-input;type nat hook input priority 0
+:nat-prerouting;type nat hook prerouting priority 0
+:nat-output;type nat hook output priority 0
+:nat-postrou;type nat hook postrouting priority 0
+
+# route chain available is output.
+:route-out;type route hook output priority 0