diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 01:17:28 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 21:01:06 -0400 |
commit | e4883014f48f8c17c17a2526cb5cb6e17c5f94e7 (patch) | |
tree | 024030596297b68c3ee3d6a46c031c60c5fc7a44 /include/net | |
parent | 60cad5da5791ceb0beefe9a79b570cca45791f50 (diff) |
[IPV4]: icmp_send() annotation
The last argument is network-endian (it will go straight into the packet).
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/icmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/icmp.h b/include/net/icmp.h index 05f8ff7d9316..dc09474efcf3 100644 --- a/include/net/icmp.h +++ b/include/net/icmp.h | |||
@@ -38,7 +38,7 @@ struct dst_entry; | |||
38 | struct net_proto_family; | 38 | struct net_proto_family; |
39 | struct sk_buff; | 39 | struct sk_buff; |
40 | 40 | ||
41 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, u32 info); | 41 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); |
42 | extern int icmp_rcv(struct sk_buff *skb); | 42 | extern int icmp_rcv(struct sk_buff *skb); |
43 | extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); | 43 | extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
44 | extern void icmp_init(struct net_proto_family *ops); | 44 | extern void icmp_init(struct net_proto_family *ops); |