summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-26 22:27:30 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:01:19 -0700
commit13d8eaa06abfeb708b60fa64203a20db033088b3 (patch)
tree87fb8643226444ec20368fe7d274b2e84e8e1910 /include/net
parent8712f774dc47ec6353c9b75317d6db62e58d9367 (diff)
downloadlwn-13d8eaa06abfeb708b60fa64203a20db033088b3.tar.gz
lwn-13d8eaa06abfeb708b60fa64203a20db033088b3.zip
[IPV4]: ip_build_and_send_pkt() annotations
saddr and daddr are 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')
-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 b9a5bc9487e3..6da1229c041a 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -86,7 +86,7 @@ extern int igmp_mc_proc_init(void);
*/
extern int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk,
- u32 saddr, u32 daddr,
+ __be32 saddr, __be32 daddr,
struct ip_options *opt);
extern int ip_rcv(struct sk_buff *skb, struct net_device *dev,
struct packet_type *pt, struct net_device *orig_dev);