History

net: fib_rules: Add flow label selector attributes

Add new FIB rule attributes which will allow user space to match on the IPv6 flow label with a mask. Temporarily set the type of the attributes to 'NLA_REJECT' while support is being added in the IPv6 code.

Ido Schimmel committed 1 year ago

Commit d1d761b1 parent 4fefbc62 files · +4 −0Browse files

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

Unified · Split

include/uapi/linux/fib_rules.h+2−0
@@ -68,6 +68,8 @@ enum { · 67 unmodified lines
68 FRA_SPORT_RANGE, /* sport */68 FRA_SPORT_RANGE, /* sport */
69 FRA_DPORT_RANGE, /* dport */69 FRA_DPORT_RANGE, /* dport */
70 FRA_DSCP, /* dscp */70 FRA_DSCP, /* dscp */
71 FRA_FLOWLABEL, /* flowlabel */
72 FRA_FLOWLABEL_MASK, /* flowlabel mask */
71 __FRA_MAX73 __FRA_MAX
72};74};
73 75