summaryrefslogtreecommitdiffstats
path: root/arptables.8
diff options
context:
space:
mode:
authorZhang Chunyu <zhangcy@cn.fujitsu.com>2015-03-29 22:35:48 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2015-04-16 13:04:18 +0200
commit4bb2f8340783fd3a3f70aa6f8807428a280f8474 (patch)
treeca96d3158fecf2e74a1bf0c9b48b5aea749e6060 /arptables.8
parentdbbe9f7de36aa3c7dd61dc89092c03f7902e474e (diff)
arptables: Add MARK target
We can use MARK target to set make value for arp packet. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: Zhang Chunyu <zhangcy@cn.fujitsu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'arptables.8')
-rw-r--r--arptables.817
1 files changed, 17 insertions, 0 deletions
diff --git a/arptables.8 b/arptables.8
index 78b2c60..676b884 100644
--- a/arptables.8
+++ b/arptables.8
@@ -315,6 +315,23 @@ sify the packet into a specific CBQ class).
Set the major and minor class value. The values are always
interpreted as hexadecimal even if no 0x prefix is given.
+.SS MARK
+This module allows you to set the skb->mark value (and thus classify
+the packet by the mark in u32)
+
+.TP
+.BR "--set-mark mark"
+Set the mark value. The values are always
+interpreted as hexadecimal even if no 0x prefix is given
+
+.TP
+.BR "--and-mark mark"
+Binary AND the mark with bits.
+
+.TP
+.BR "--or-mark mark"
+Binary OR the mark with bits.
+
.SH MAILINGLISTS
.BR "" "See " http://netfilter.org/mailinglists.html
.SH SEE ALSO