summaryrefslogtreecommitdiffstats
path: root/include/linux/pkt_cls.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-02-05 03:20:13 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-05 03:20:13 -0800
commit3113e88c3cb3c0a22920b621f8e4d1f2ccc07f1e (patch)
tree241192a6492a5254cd1a2fb8fff8e87969ef0420 /include/linux/pkt_cls.h
parentdded91611a728d65721cdab3dd41d801a356fa15 (diff)
downloadop-kernel-dev-3113e88c3cb3c0a22920b621f8e4d1f2ccc07f1e.zip
op-kernel-dev-3113e88c3cb3c0a22920b621f8e4d1f2ccc07f1e.tar.gz
[PKT_SCHED]: vlan tag match
Provide a way to use tc filters on vlan tag even if tag is buried in skb due to hardware acceleration. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pkt_cls.h')
-rw-r--r--include/linux/pkt_cls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/pkt_cls.h b/include/linux/pkt_cls.h
index 1c1dba9..40fac8c 100644
--- a/include/linux/pkt_cls.h
+++ b/include/linux/pkt_cls.h
@@ -459,7 +459,8 @@ enum
#define TCF_EM_U32 3
#define TCF_EM_META 4
#define TCF_EM_TEXT 5
-#define TCF_EM_MAX 5
+#define TCF_EM_VLAN 6
+#define TCF_EM_MAX 6
enum
{
OpenPOWER on IntegriCloud