diff options
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r-- | include/net/ip6_fib.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 818411519c89..7b47e8d5a765 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -155,7 +155,6 @@ struct fib6_table { | |||
155 | 155 | ||
156 | #define RT6_TABLE_UNSPEC RT_TABLE_UNSPEC | 156 | #define RT6_TABLE_UNSPEC RT_TABLE_UNSPEC |
157 | #define RT6_TABLE_MAIN RT_TABLE_MAIN | 157 | #define RT6_TABLE_MAIN RT_TABLE_MAIN |
158 | #define RT6_TABLE_LOCAL RT6_TABLE_MAIN | ||
159 | #define RT6_TABLE_DFLT RT6_TABLE_MAIN | 158 | #define RT6_TABLE_DFLT RT6_TABLE_MAIN |
160 | #define RT6_TABLE_INFO RT6_TABLE_MAIN | 159 | #define RT6_TABLE_INFO RT6_TABLE_MAIN |
161 | #define RT6_TABLE_PREFIX RT6_TABLE_MAIN | 160 | #define RT6_TABLE_PREFIX RT6_TABLE_MAIN |
@@ -163,9 +162,11 @@ struct fib6_table { | |||
163 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES | 162 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES |
164 | #define FIB6_TABLE_MIN 1 | 163 | #define FIB6_TABLE_MIN 1 |
165 | #define FIB6_TABLE_MAX RT_TABLE_MAX | 164 | #define FIB6_TABLE_MAX RT_TABLE_MAX |
165 | #define RT6_TABLE_LOCAL RT_TABLE_LOCAL | ||
166 | #else | 166 | #else |
167 | #define FIB6_TABLE_MIN RT_TABLE_MAIN | 167 | #define FIB6_TABLE_MIN RT_TABLE_MAIN |
168 | #define FIB6_TABLE_MAX FIB6_TABLE_MIN | 168 | #define FIB6_TABLE_MAX FIB6_TABLE_MIN |
169 | #define RT6_TABLE_LOCAL RT6_TABLE_MAIN | ||
169 | #endif | 170 | #endif |
170 | 171 | ||
171 | #define RT6_F_STRICT 1 | 172 | #define RT6_F_STRICT 1 |
@@ -221,5 +222,11 @@ extern void fib6_run_gc(unsigned long dummy); | |||
221 | extern void fib6_gc_cleanup(void); | 222 | extern void fib6_gc_cleanup(void); |
222 | 223 | ||
223 | extern void fib6_init(void); | 224 | extern void fib6_init(void); |
225 | |||
226 | extern void fib6_rules_init(void); | ||
227 | extern void fib6_rules_cleanup(void); | ||
228 | extern int fib6_rules_dump(struct sk_buff *, | ||
229 | struct netlink_callback *); | ||
230 | |||
224 | #endif | 231 | #endif |
225 | #endif | 232 | #endif |