diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-31 21:48:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:28:39 -0500 |
commit | 85326fa54b5516d8859617cc5fdfce8ae19c1480 (patch) | |
tree | 82129844e755914183bc262b250301d06b7db398 /include/net | |
parent | 4b8aa9abee2e108b132dea7a7c4e81a167895354 (diff) |
[IPV4]: fib_sync_down rework.
fib_sync_down can be called with an address and with a device. In
reality it is called either with address OR with a device. The
codepath inside is completely different, so lets separate it into two
calls for these two cases.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip_fib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 9daa60b544ba..1b2f008db978 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -218,7 +218,8 @@ extern void fib_select_default(struct net *net, const struct flowi *flp, | |||
218 | 218 | ||
219 | /* Exported by fib_semantics.c */ | 219 | /* Exported by fib_semantics.c */ |
220 | extern int ip_fib_check_default(__be32 gw, struct net_device *dev); | 220 | extern int ip_fib_check_default(__be32 gw, struct net_device *dev); |
221 | extern int fib_sync_down(__be32 local, struct net_device *dev, int force); | 221 | extern int fib_sync_down_dev(struct net_device *dev, int force); |
222 | extern int fib_sync_down_addr(__be32 local); | ||
222 | extern int fib_sync_up(struct net_device *dev); | 223 | extern int fib_sync_up(struct net_device *dev); |
223 | extern __be32 __fib_res_prefsrc(struct fib_result *res); | 224 | extern __be32 __fib_res_prefsrc(struct fib_result *res); |
224 | extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res); | 225 | extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res); |