diff options
Diffstat (limited to 'include/net/ip_mp_alg.h')
-rw-r--r-- | include/net/ip_mp_alg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip_mp_alg.h b/include/net/ip_mp_alg.h index ac747b64734c..beffdd66ad74 100644 --- a/include/net/ip_mp_alg.h +++ b/include/net/ip_mp_alg.h | |||
@@ -17,7 +17,7 @@ struct ip_mp_alg_ops { | |||
17 | void (*mp_alg_select_route)(const struct flowi *flp, | 17 | void (*mp_alg_select_route)(const struct flowi *flp, |
18 | struct rtable *rth, struct rtable **rp); | 18 | struct rtable *rth, struct rtable **rp); |
19 | void (*mp_alg_flush)(void); | 19 | void (*mp_alg_flush)(void); |
20 | void (*mp_alg_set_nhinfo)(__u32 network, __u32 netmask, | 20 | void (*mp_alg_set_nhinfo)(__be32 network, __be32 netmask, |
21 | unsigned char prefixlen, | 21 | unsigned char prefixlen, |
22 | const struct fib_nh *nh); | 22 | const struct fib_nh *nh); |
23 | void (*mp_alg_remove)(struct rtable *rth); | 23 | void (*mp_alg_remove)(struct rtable *rth); |
@@ -59,7 +59,7 @@ static inline void multipath_flush(void) | |||
59 | } | 59 | } |
60 | 60 | ||
61 | static inline void multipath_set_nhinfo(struct rtable *rth, | 61 | static inline void multipath_set_nhinfo(struct rtable *rth, |
62 | __u32 network, __u32 netmask, | 62 | __be32 network, __be32 netmask, |
63 | unsigned char prefixlen, | 63 | unsigned char prefixlen, |
64 | const struct fib_nh *nh) | 64 | const struct fib_nh *nh) |
65 | { | 65 | { |