This change brings the suppressor attribute names into line; it also changes the data types to provide a more consistent interface. While -1 indicates that the suppressor is not enabled, values >= 0 for suppress_prefixlen or suppress_ifgroup reject routing decisions violating the constraint. This changes the previously presented behaviour of suppress_prefixlen, where a prefix length _less_ than the attribute value was rejected. After this change, a prefix length less than *or* equal to the value is considered a violation of the rule constraint. It also changes the default values for default and newly added rules (disabling any suppression for those).
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -45,7 +45,7 @@ enum { · 44 unmodified lines | ||
| 45 | 45 | FRA_FLOW, /* flow/class id */ |
| 46 | 46 | FRA_UNUSED6, |
| 47 | 47 | FRA_SUPPRESS_IFGROUP, |
| 48 | − FRA_TABLE_PREFIXLEN_MIN, | |
| 48 | + FRA_SUPPRESS_PREFIXLEN, | |
| 49 | 49 | FRA_TABLE, /* Extended table id */ |
| 50 | 50 | FRA_FWMASK, /* mask for netfilter mark */ |
| 51 | 51 | FRA_OIFNAME, |