aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-31 21:48:47 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-31 22:28:39 -0500
commit85326fa54b5516d8859617cc5fdfce8ae19c1480 (patch)
tree82129844e755914183bc262b250301d06b7db398 /include/net
parent4b8aa9abee2e108b132dea7a7c4e81a167895354 (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.h3
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 */
220extern int ip_fib_check_default(__be32 gw, struct net_device *dev); 220extern int ip_fib_check_default(__be32 gw, struct net_device *dev);
221extern int fib_sync_down(__be32 local, struct net_device *dev, int force); 221extern int fib_sync_down_dev(struct net_device *dev, int force);
222extern int fib_sync_down_addr(__be32 local);
222extern int fib_sync_up(struct net_device *dev); 223extern int fib_sync_up(struct net_device *dev);
223extern __be32 __fib_res_prefsrc(struct fib_result *res); 224extern __be32 __fib_res_prefsrc(struct fib_result *res);
224extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res); 225extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res);