summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick McHardy2006-08-26 01:11:42 +0200
committerDavid S. Miller2006-09-23 00:18:12 +0200
commitb4e9b520ca5d07a37ea59648e7f50f478e7487a3 (patch)
treec007ca2e57ba73e6bc6196ad1deaaf58c7d7aae4 /include/linux
parent[DECNET]: Add support for fwmark masks in routing rules (diff)
downloadkernel-qcow2-linux-b4e9b520ca5d07a37ea59648e7f50f478e7487a3.tar.gz
kernel-qcow2-linux-b4e9b520ca5d07a37ea59648e7f50f478e7487a3.tar.xz
kernel-qcow2-linux-b4e9b520ca5d07a37ea59648e7f50f478e7487a3.zip
[NET_SCHED]: Add mask support to fwmark classifier
Support masking the nfmark value before the search. The mask value is global for all filters contained in one instance. It can only be set when a new instance is created, all filters must specify the same mask. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pkt_cls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pkt_cls.h b/include/linux/pkt_cls.h
index bd2c5a2bbbf5..c3f01b3085a4 100644
--- a/include/linux/pkt_cls.h
+++ b/include/linux/pkt_cls.h
@@ -305,6 +305,7 @@ enum
TCA_FW_POLICE,
TCA_FW_INDEV, /* used by CONFIG_NET_CLS_IND */
TCA_FW_ACT, /* used by CONFIG_NET_CLS_ACT */
+ TCA_FW_MASK,
__TCA_FW_MAX
};