]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit755cc4df6624043614ade4fe12174eeb1350c1b1
tree9a3333e0a126d36e3561c3cabe9f13b979224417
parent426f5ea32b081f65afa349d0e0b5df76490d92fb
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