summaryrefslogtreecommitdiff
path: root/include/uapi/linux/pkt_cls.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-05-23 19:40:45 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-24 23:22:11 +0300
commitfdfc7dd6ca39b117c709dceee8d32ac4447294d6 (patch)
treebd52b7fae6a917cff7d8aa29cfb70bba4b04707e /include/uapi/linux/pkt_cls.h
parentac4bb5de27010e41f027c635dedca1393e7ebf55 (diff)
downloadlinux-fdfc7dd6ca39b117c709dceee8d32ac4447294d6.tar.xz
net/sched: flower: add support for matching on tcp flags
Benefit from the support of tcp flags dissection and allow user to insert rules matching on tcp flags. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/pkt_cls.h')
-rw-r--r--include/uapi/linux/pkt_cls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
index 1b9aa9e6b4fd..c6e8cf5e9c40 100644
--- a/include/uapi/linux/pkt_cls.h
+++ b/include/uapi/linux/pkt_cls.h
@@ -451,6 +451,9 @@ enum {
TCA_FLOWER_KEY_MPLS_TC, /* u8 - 3 bits */
TCA_FLOWER_KEY_MPLS_LABEL, /* be32 - 20 bits */
+ TCA_FLOWER_KEY_TCP_FLAGS, /* be16 */
+ TCA_FLOWER_KEY_TCP_FLAGS_MASK, /* be16 */
+
__TCA_FLOWER_MAX,
};