Add attributes that allow matching on source and destination ports with a mask. Matching on the source port with a mask is needed in deployments where users encode path information into certain bits of the UDP source port. Temporarily set the type of the attributes to 'NLA_REJECT' while support is being added.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -70,6 +70,8 @@ enum { · 69 unmodified lines | |||
| 70 | FRA_DSCP, /* dscp */ | 70 | FRA_DSCP, /* dscp */ |
| 71 | FRA_FLOWLABEL, /* flowlabel */ | 71 | FRA_FLOWLABEL, /* flowlabel */ |
| 72 | FRA_FLOWLABEL_MASK, /* flowlabel mask */ | 72 | FRA_FLOWLABEL_MASK, /* flowlabel mask */ |
| 73 | FRA_SPORT_MASK, /* sport mask */ | ||
| 74 | FRA_DPORT_MASK, /* dport mask */ | ||
| 73 | __FRA_MAX | 75 | __FRA_MAX |
| 74 | }; | 76 | }; |
| 75 | 77 | ||