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
6868 FRA_SPORT_RANGE, /* sport */
6969 FRA_DPORT_RANGE, /* dport */
7070 FRA_DSCP, /* dscp */
71+ FRA_FLOWLABEL, /* flowlabel */
72+ FRA_FLOWLABEL_MASK, /* flowlabel mask */
7173 __FRA_MAX
7274 };
7375