diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 00:27:15 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 20:54:06 -0400 |
commit | bada8adc4e6622764205921e6ba3f717aa03c882 (patch) | |
tree | 6052ffa8b3f6fbb8e11566f7a0e3f1f557acccd2 /include/net/route.h | |
parent | f2c3fe24119ee4f8faca08699f0488f500014a27 (diff) |
[IPV4]: ip_route_connect() ipv4 address arguments annotated
annotated address arguments (port number left alone for now); ditto
for inferred net-endian variables in callers.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/route.h')
-rw-r--r-- | include/net/route.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/route.h b/include/net/route.h index 5bb2b15b4391..63524843f6d9 100644 --- a/include/net/route.h +++ b/include/net/route.h | |||
@@ -144,8 +144,8 @@ static inline char rt_tos2priority(u8 tos) | |||
144 | return ip_tos2prio[IPTOS_TOS(tos)>>1]; | 144 | return ip_tos2prio[IPTOS_TOS(tos)>>1]; |
145 | } | 145 | } |
146 | 146 | ||
147 | static inline int ip_route_connect(struct rtable **rp, u32 dst, | 147 | static inline int ip_route_connect(struct rtable **rp, __be32 dst, |
148 | u32 src, u32 tos, int oif, u8 protocol, | 148 | __be32 src, u32 tos, int oif, u8 protocol, |
149 | u16 sport, u16 dport, struct sock *sk) | 149 | u16 sport, u16 dport, struct sock *sk) |
150 | { | 150 | { |
151 | struct flowi fl = { .oif = oif, | 151 | struct flowi fl = { .oif = oif, |