diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-23 01:03:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:11:02 -0500 |
commit | e30d3a0ccddbd458b3fb14c9b0229b01d97bad5b (patch) | |
tree | b8cc48019ea871d23eadae15dfbf83ccaeab7b31 /include | |
parent | d5ce8a0e97073169b5fe0b7c52bd020cdb017dfa (diff) |
[IPV4]: Declarations cleanup in ip_fib.h.
Two small issues fixed:
- fib_select_multipath is exported from fib_semantics.c rather than from
fib_frontend.c. So, move the declaration below appropriate comment.
- struct rt_entry declaration is not used. Drop it.
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.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index a85912434189..be70b33b744c 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -222,15 +222,13 @@ extern const struct nla_policy rtm_ipv4_policy[]; | |||
222 | extern void ip_fib_init(void); | 222 | extern void ip_fib_init(void); |
223 | extern int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif, | 223 | extern int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif, |
224 | struct net_device *dev, __be32 *spec_dst, u32 *itag); | 224 | struct net_device *dev, __be32 *spec_dst, u32 *itag); |
225 | extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res); | ||
226 | |||
227 | struct rtentry; | ||
228 | 225 | ||
229 | /* Exported by fib_semantics.c */ | 226 | /* Exported by fib_semantics.c */ |
230 | extern int ip_fib_check_default(__be32 gw, struct net_device *dev); | 227 | extern int ip_fib_check_default(__be32 gw, struct net_device *dev); |
231 | extern int fib_sync_down(__be32 local, struct net_device *dev, int force); | 228 | extern int fib_sync_down(__be32 local, struct net_device *dev, int force); |
232 | extern int fib_sync_up(struct net_device *dev); | 229 | extern int fib_sync_up(struct net_device *dev); |
233 | extern __be32 __fib_res_prefsrc(struct fib_result *res); | 230 | extern __be32 __fib_res_prefsrc(struct fib_result *res); |
231 | extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res); | ||
234 | 232 | ||
235 | /* Exported by fib_{hash|trie}.c */ | 233 | /* Exported by fib_{hash|trie}.c */ |
236 | extern void fib_hash_init(void); | 234 | extern void fib_hash_init(void); |