]> err.no Git - linux-2.6/blobdiff - include/net/ip_fib.h
[IPV4]: Remove ip_fib_local_table and ip_fib_main_table defines.
[linux-2.6] / include / net / ip_fib.h
index 8cadc77c7df4bfbd58d02c3b03ecddc01d9e85af..690fb4dd75056b7bb4ed5b3e496a0102bb5c3a7a 100644 (file)
@@ -185,8 +185,11 @@ static inline void fib_select_default(const struct flowi *flp, struct fib_result
 }
 
 #else /* CONFIG_IP_MULTIPLE_TABLES */
-#define ip_fib_local_table fib_get_table(RT_TABLE_LOCAL)
-#define ip_fib_main_table fib_get_table(RT_TABLE_MAIN)
+extern void __init fib4_rules_init(void);
+
+#ifdef CONFIG_NET_CLS_ROUTE
+extern u32 fib_rules_tclass(struct fib_result *res);
+#endif
 
 extern int fib_lookup(struct flowi *flp, struct fib_result *res);
 
@@ -214,15 +217,6 @@ extern __be32  __fib_res_prefsrc(struct fib_result *res);
 /* Exported by fib_hash.c */
 extern struct fib_table *fib_hash_init(u32 id);
 
-#ifdef CONFIG_IP_MULTIPLE_TABLES
-extern void __init fib4_rules_init(void);
-
-#ifdef CONFIG_NET_CLS_ROUTE
-extern u32 fib_rules_tclass(struct fib_result *res);
-#endif
-
-#endif
-
 static inline void fib_combine_itag(u32 *itag, struct fib_result *res)
 {
 #ifdef CONFIG_NET_CLS_ROUTE