summaryrefslogtreecommitdiffstats
path: root/include/linux/icmp.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 18:38:13 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:02:18 -0700
commitb1dd39ac963040c2d282ab8026b9c9aa9306ea06 (patch)
tree03487b6f675680e636bd6d30aaddcd3d0d451195 /include/linux/icmp.h
parent734ab87f632e94dfd4299f4d4d1d10668548f9d8 (diff)
[IPV4]: ICMP header annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/icmp.h')
-rw-r--r--include/linux/icmp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/icmp.h b/include/linux/icmp.h
index f0b571f1060..878cfe4e587 100644
--- a/include/linux/icmp.h
+++ b/include/linux/icmp.h
@@ -68,16 +68,16 @@
struct icmphdr {
__u8 type;
__u8 code;
- __u16 checksum;
+ __be16 checksum;
union {
struct {
- __u16 id;
- __u16 sequence;
+ __be16 id;
+ __be16 sequence;
} echo;
- __u32 gateway;
+ __be32 gateway;
struct {
- __u16 __unused;
- __u16 mtu;
+ __be16 __unused;
+ __be16 mtu;
} frag;
} un;
};