aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-12-07 03:46:11 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:49 -0500
commitbb803175865dd030420eebbc87298414c7725019 (patch)
tree7419c6c86b91c3543f7cafe0bdd33abd9bb98281 /include
parentf845ab6b7dd872d027c27146c264e46bc16c656a (diff)
[IPV4]: Remove ip_fib_local_table and ip_fib_main_table defines.
There are only 2 users and it doesn't hurt to call fib_get_table instead, and it makes it easier to make the fib network namespace aware. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/ip_fib.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index ed514bfb61ba..690fb4dd7505 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -191,9 +191,6 @@ extern void __init fib4_rules_init(void);
191extern u32 fib_rules_tclass(struct fib_result *res); 191extern u32 fib_rules_tclass(struct fib_result *res);
192#endif 192#endif
193 193
194#define ip_fib_local_table fib_get_table(RT_TABLE_LOCAL)
195#define ip_fib_main_table fib_get_table(RT_TABLE_MAIN)
196
197extern int fib_lookup(struct flowi *flp, struct fib_result *res); 194extern int fib_lookup(struct flowi *flp, struct fib_result *res);
198 195
199extern struct fib_table *fib_new_table(u32 id); 196extern struct fib_table *fib_new_table(u32 id);