summaryrefslogtreecommitdiffstats
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2007-12-08 09:32:23 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:57:01 +0100
commit971b893e79db0f7dccfcea15dbdebca3ca64a84d (patch)
treee04d0a7c05aec59f1eb2253e7e73d0bdc2f8aed8 /include/net/ip_fib.h
parent[IPV4]: Unify assignment of fi to fib_result (diff)
downloadlinux-971b893e79db0f7dccfcea15dbdebca3ca64a84d.tar.xz
linux-971b893e79db0f7dccfcea15dbdebca3ca64a84d.zip
[IPV4]: last default route is a fib table property
Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r--include/net/ip_fib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 690fb4dd7505..d70b9b49f8b1 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -141,6 +141,7 @@ struct fib_table {
struct hlist_node tb_hlist;
u32 tb_id;
unsigned tb_stamp;
+ int tb_default;
int (*tb_lookup)(struct fib_table *tb, const struct flowi *flp, struct fib_result *res);
int (*tb_insert)(struct fib_table *, struct fib_config *);
int (*tb_delete)(struct fib_table *, struct fib_config *);