summaryrefslogtreecommitdiff
path: root/include/linux/pkt_cls.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-08-26 03:11:42 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-23 02:18:12 +0400
commitb4e9b520ca5d07a37ea59648e7f50f478e7487a3 (patch)
treec007ca2e57ba73e6bc6196ad1deaaf58c7d7aae4 /include/linux/pkt_cls.h
parent88e91f290307d22ae88302e3a24f0c36905e8a6c (diff)
downloadlinux-b4e9b520ca5d07a37ea59648e7f50f478e7487a3.tar.xz
[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/pkt_cls.h')
-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
};