diff options
Diffstat (limited to 'include/linux/fib_rules.h')
-rw-r--r-- | include/linux/fib_rules.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/fib_rules.h b/include/linux/fib_rules.h index 51da65b68b85..04a397619ebe 100644 --- a/include/linux/fib_rules.h +++ b/include/linux/fib_rules.h | |||
@@ -15,6 +15,14 @@ | |||
15 | /* try to find source address in routing lookups */ | 15 | /* try to find source address in routing lookups */ |
16 | #define FIB_RULE_FIND_SADDR 0x00010000 | 16 | #define FIB_RULE_FIND_SADDR 0x00010000 |
17 | 17 | ||
18 | /* fib_rules families. values up to 127 are reserved for real address | ||
19 | * families, values above 128 may be used arbitrarily. | ||
20 | */ | ||
21 | #define FIB_RULES_IPV4 AF_INET | ||
22 | #define FIB_RULES_IPV6 AF_INET6 | ||
23 | #define FIB_RULES_DECNET AF_DECnet | ||
24 | #define FIB_RULES_IPMR 128 | ||
25 | |||
18 | struct fib_rule_hdr { | 26 | struct fib_rule_hdr { |
19 | __u8 family; | 27 | __u8 family; |
20 | __u8 dst_len; | 28 | __u8 dst_len; |