diff options
author | Denis V. Lunev <den@openvz.org> | 2007-12-08 03:32:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:57:01 -0500 |
commit | 971b893e79db0f7dccfcea15dbdebca3ca64a84d (patch) | |
tree | e04d0a7c05aec59f1eb2253e7e73d0bdc2f8aed8 /include/net | |
parent | a2bbe6822f8928e254452765c07cb863633113b8 (diff) |
[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')
-rw-r--r-- | include/net/ip_fib.h | 1 |
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 { | |||
141 | struct hlist_node tb_hlist; | 141 | struct hlist_node tb_hlist; |
142 | u32 tb_id; | 142 | u32 tb_id; |
143 | unsigned tb_stamp; | 143 | unsigned tb_stamp; |
144 | int tb_default; | ||
144 | int (*tb_lookup)(struct fib_table *tb, const struct flowi *flp, struct fib_result *res); | 145 | int (*tb_lookup)(struct fib_table *tb, const struct flowi *flp, struct fib_result *res); |
145 | int (*tb_insert)(struct fib_table *, struct fib_config *); | 146 | int (*tb_insert)(struct fib_table *, struct fib_config *); |
146 | int (*tb_delete)(struct fib_table *, struct fib_config *); | 147 | int (*tb_delete)(struct fib_table *, struct fib_config *); |