summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_mark.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-11-02 16:19:20 +0100
committerFlorian Westphal <fw@strlen.de>2018-11-03 20:35:22 +0100
commitc3e8dbd4139589245403fd06479af9725c2bc341 (patch)
tree6a8a2b41b7891620875b3349930e68b267675b0a /extensions/libebt_mark.t
parentcd90cef0c18a996f499c9e31fff7ee0554fe39f9 (diff)
ebtables: add test cases
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libebt_mark.t')
-rw-r--r--extensions/libebt_mark.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/libebt_mark.t b/extensions/libebt_mark.t
new file mode 100644
index 00000000..2d8f9d7a
--- /dev/null
+++ b/extensions/libebt_mark.t
@@ -0,0 +1,5 @@
+:INPUT,FORWARD,OUTPUT
+-j mark --mark-set 1;-j mark --mark-set 0x1 --mark-target ACCEPT;OK
+-j mark --mark-or 0xa --mark-target CONTINUE;=;OK
+-j mark --mark-and 0x1 --mark-target RETURN;=;OK
+-j mark --mark-xor 0x1 --mark-target CONTINUE;=;OK