summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/pkt_cls.h
diff options
context:
space:
mode:
authorHadar Hen Zion2016-11-07 14:14:39 +0100
committerDavid S. Miller2016-11-09 19:41:54 +0100
commitf4d997fd613001e612543339e0275c037f94ffe9 (patch)
treeb63fd01ff2ef17a7d8678fe77373180918c4e227 /include/uapi/linux/pkt_cls.h
parentnet/sched: cls_flower: Allow setting encapsulation fields as used key (diff)
downloadkernel-qcow2-linux-f4d997fd613001e612543339e0275c037f94ffe9.tar.gz
kernel-qcow2-linux-f4d997fd613001e612543339e0275c037f94ffe9.tar.xz
kernel-qcow2-linux-f4d997fd613001e612543339e0275c037f94ffe9.zip
net/sched: cls_flower: Add UDP port to tunnel parameters
The current IP tunneling classification supports only IP addresses and key. Enhance UDP based IP tunneling classification parameters by adding UDP src and dst port. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
index eb94781757ee..86786d45ee66 100644
--- a/include/uapi/linux/pkt_cls.h
+++ b/include/uapi/linux/pkt_cls.h
@@ -452,6 +452,11 @@ enum {
TCA_FLOWER_KEY_SCTP_SRC, /* be16 */
TCA_FLOWER_KEY_SCTP_DST, /* be16 */
+
+ TCA_FLOWER_KEY_ENC_UDP_SRC_PORT, /* be16 */
+ TCA_FLOWER_KEY_ENC_UDP_SRC_PORT_MASK, /* be16 */
+ TCA_FLOWER_KEY_ENC_UDP_DST_PORT, /* be16 */
+ TCA_FLOWER_KEY_ENC_UDP_DST_PORT_MASK, /* be16 */
__TCA_FLOWER_MAX,
};