summaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 18:33:40 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:02:08 -0700
commit0579016ec4691116f6322ec6ed7fb7ce746948e9 (patch)
tree9149400d6294f0a47df8aa0a4a2dd829d72011ab /include/net/ip.h
parentcc939d37349bf82891bd1f4558284d7fafe7acb2 (diff)
downloadlinux-0579016ec4691116f6322ec6ed7fb7ce746948e9.tar.bz2
[IPV4]: ip_local_error() annotations
port argument is net-endian Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r--include/net/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index 96030314f70b..7e7e9731ada8 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -364,7 +364,7 @@ extern int ip_ra_control(struct sock *sk, unsigned char on, void (*destructor)(s
extern int ip_recv_error(struct sock *sk, struct msghdr *msg, int len);
extern void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err,
u16 port, u32 info, u8 *payload);
-extern void ip_local_error(struct sock *sk, int err, __be32 daddr, u16 dport,
+extern void ip_local_error(struct sock *sk, int err, __be32 daddr, __be16 dport,
u32 info);
/* sysctl helpers - any sysctl which holds a value that ends up being