summaryrefslogtreecommitdiffstats
path: root/tests/options-ipv6.mangle
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-02-13 14:00:27 +0100
committerFlorian Westphal <fw@strlen.de>2015-02-13 14:00:27 +0100
commit36305b80176e2e7abe56bcdd084c0ba3d0fd7c0f (patch)
treedea4868d0a4485b2aa0416ff5cfe226c4d575001 /tests/options-ipv6.mangle
parent87f82cbd4f94cca74eb58506e117f226a2270759 (diff)
tests: split into family and table specific files
also add simple script to restore/save them. run_qa.sh passes on standard-distro kernels. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/options-ipv6.mangle')
-rw-r--r--tests/options-ipv6.mangle12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/options-ipv6.mangle b/tests/options-ipv6.mangle
new file mode 100644
index 00000000..ca144821
--- /dev/null
+++ b/tests/options-ipv6.mangle
@@ -0,0 +1,12 @@
+*mangle
+:PREROUTING ACCEPT [0:0]
+:INPUT ACCEPT [0:0]
+:FORWARD ACCEPT [0:0]
+:OUTPUT ACCEPT [0:0]
+:POSTROUTING ACCEPT [0:0]
+:ntarg - -
+-A INPUT -i dummy0 -m u32 --u32 "0x0=0x0&&0x0=0x1" -j ntarg
+-A ntarg -j HL --hl-inc 1
+-A ntarg -j HL --hl-dec 1
+-A ntarg
+COMMIT