diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-05-23 19:40:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-24 23:22:11 +0300 |
commit | fdfc7dd6ca39b117c709dceee8d32ac4447294d6 (patch) | |
tree | bd52b7fae6a917cff7d8aa29cfb70bba4b04707e /include/uapi | |
parent | ac4bb5de27010e41f027c635dedca1393e7ebf55 (diff) | |
download | linux-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')
-rw-r--r-- | include/uapi/linux/pkt_cls.h | 3 |
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, }; |