summaryrefslogtreecommitdiffstats
path: root/include/linux/pkt_cls.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-08-25 16:11:42 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:18:12 -0700
commitb4e9b520ca5d07a37ea59648e7f50f478e7487a3 (patch)
treec007ca2e57ba73e6bc6196ad1deaaf58c7d7aae4 /include/linux/pkt_cls.h
parent88e91f290307d22ae88302e3a24f0c36905e8a6c (diff)
downloadop-kernel-dev-b4e9b520ca5d07a37ea59648e7f50f478e7487a3.zip
op-kernel-dev-b4e9b520ca5d07a37ea59648e7f50f478e7487a3.tar.gz
[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 bd2c5a2..c3f01b3 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
};
OpenPOWER on IntegriCloud