diff options
Diffstat (limited to 'include/net/ip_fib.h')
| -rw-r--r-- | include/net/ip_fib.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 8cadc77c7df4..ed514bfb61ba 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
| @@ -185,6 +185,12 @@ static inline void fib_select_default(const struct flowi *flp, struct fib_result | |||
| 185 | } | 185 | } |
| 186 | 186 | ||
| 187 | #else /* CONFIG_IP_MULTIPLE_TABLES */ | 187 | #else /* CONFIG_IP_MULTIPLE_TABLES */ |
| 188 | extern void __init fib4_rules_init(void); | ||
| 189 | |||
| 190 | #ifdef CONFIG_NET_CLS_ROUTE | ||
| 191 | extern u32 fib_rules_tclass(struct fib_result *res); | ||
| 192 | #endif | ||
| 193 | |||
| 188 | #define ip_fib_local_table fib_get_table(RT_TABLE_LOCAL) | 194 | #define ip_fib_local_table fib_get_table(RT_TABLE_LOCAL) |
| 189 | #define ip_fib_main_table fib_get_table(RT_TABLE_MAIN) | 195 | #define ip_fib_main_table fib_get_table(RT_TABLE_MAIN) |
| 190 | 196 | ||
| @@ -214,15 +220,6 @@ extern __be32 __fib_res_prefsrc(struct fib_result *res); | |||
| 214 | /* Exported by fib_hash.c */ | 220 | /* Exported by fib_hash.c */ |
| 215 | extern struct fib_table *fib_hash_init(u32 id); | 221 | extern struct fib_table *fib_hash_init(u32 id); |
| 216 | 222 | ||
| 217 | #ifdef CONFIG_IP_MULTIPLE_TABLES | ||
| 218 | extern void __init fib4_rules_init(void); | ||
| 219 | |||
| 220 | #ifdef CONFIG_NET_CLS_ROUTE | ||
| 221 | extern u32 fib_rules_tclass(struct fib_result *res); | ||
| 222 | #endif | ||
| 223 | |||
| 224 | #endif | ||
| 225 | |||
| 226 | static inline void fib_combine_itag(u32 *itag, struct fib_result *res) | 223 | static inline void fib_combine_itag(u32 *itag, struct fib_result *res) |
| 227 | { | 224 | { |
| 228 | #ifdef CONFIG_NET_CLS_ROUTE | 225 | #ifdef CONFIG_NET_CLS_ROUTE |
