summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-26 22:17:51 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:01:07 -0700
commitfd6832220974809141b3981e380b78690bba8911 (patch)
tree60fcf8bb0912b3b2eb91836540fdbb83265ef8e4 /include/net
parente4883014f48f8c17c17a2526cb5cb6e17c5f94e7 (diff)
downloadlinux-3.10-fd6832220974809141b3981e380b78690bba8911.tar.gz
linux-3.10-fd6832220974809141b3981e380b78690bba8911.tar.bz2
linux-3.10-fd6832220974809141b3981e380b78690bba8911.zip
[IPV4]: inet_addr_type() annotations
argument and inferred net-endian variables in callers annotated. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/route.h b/include/net/route.h
index 63524843f6d..58752722c96 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -120,7 +120,7 @@ extern int ip_route_input(struct sk_buff*, __be32 dst, __be32 src, u8 tos, stru
extern unsigned short ip_rt_frag_needed(struct iphdr *iph, unsigned short new_mtu);
extern void ip_rt_send_redirect(struct sk_buff *skb);
-extern unsigned inet_addr_type(u32 addr);
+extern unsigned inet_addr_type(__be32 addr);
extern void ip_rt_multicast_event(struct in_device *);
extern int ip_rt_ioctl(unsigned int cmd, void __user *arg);
extern void ip_rt_get_source(u8 *src, struct rtable *rt);