History

net/sched: cls_flower: Support matching on ip tos and ttl for tunnels

Allow users to set rules matching on ipv4 tos and ttl or ipv6 traffic-class and hoplimit of tunnel headers.

Or Gerlitz committed 8 years ago

Commit 0e2c17b1 parent 5544adb2 files · +33 −15Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/pkt_cls.h+5−0
@@ -473,6 +473,11 @@ enum { · 472 unmodified lines
473473 TCA_FLOWER_KEY_CVLAN_PRIO, /* u8 */
474474 TCA_FLOWER_KEY_CVLAN_ETH_TYPE, /* be16 */
475475
476+ TCA_FLOWER_KEY_ENC_IP_TOS, /* u8 */
477+ TCA_FLOWER_KEY_ENC_IP_TOS_MASK, /* u8 */
478+ TCA_FLOWER_KEY_ENC_IP_TTL, /* u8 */
479+ TCA_FLOWER_KEY_ENC_IP_TTL_MASK, /* u8 */
480+
476481 __TCA_FLOWER_MAX,
477482 };
478483