net/sched: cls_flower: Support masking for matching on tcp/udp ports
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 15 Sep 2016 12:28:22 +0000 (15:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 00:27:23 +0000 (20:27 -0400)
commitaa72d708373dacfa690960b336543b867784b350
tree9a3333e0a126d36e3561c3cabe9f13b979224417
parent0ca4e20ba3de1a1077ee36df22176c2055497923
net/sched: cls_flower: Support masking for matching on tcp/udp ports

Add the definitions for src/dst udp/tcp port masks and use
them when setting && dumping the relevant keys.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_cls.h
net/sched/cls_flower.c