diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-11-09 15:23:20 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:21:42 -0800 |
commit | 3dfbcc411e461db51a1ac1aa1c6ebe2c5a0275a0 (patch) | |
tree | 14637fc46cade241f7156f208c12d9978d948b8f /include | |
parent | 1f6c9557e8206757c91b5737bb8dbd5b1ae3a773 (diff) | |
download | linux-3.10-3dfbcc411e461db51a1ac1aa1c6ebe2c5a0275a0.tar.gz linux-3.10-3dfbcc411e461db51a1ac1aa1c6ebe2c5a0275a0.tar.bz2 linux-3.10-3dfbcc411e461db51a1ac1aa1c6ebe2c5a0275a0.zip |
[NET] rules: Add support to invert selectors
Introduces a new flag FIB_RULE_INVERT causing rules to apply
if the specified selector doesn't match.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fib_rules.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fib_rules.h b/include/linux/fib_rules.h index adcdfbdd14d..8270aac2aa5 100644 --- a/include/linux/fib_rules.h +++ b/include/linux/fib_rules.h @@ -6,6 +6,7 @@ /* rule is permanent, and cannot be deleted */ #define FIB_RULE_PERMANENT 1 +#define FIB_RULE_INVERT 2 struct fib_rule_hdr { |