From: Al Viro Date: Thu, 28 Sep 2006 01:38:13 +0000 (-0700) Subject: [IPV4]: ICMP header annotations X-Git-Tag: v2.6.19-rc1~858^2~57 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b1dd39ac963040c2d282ab8026b9c9aa9306ea06;p=~emulex%2Finfiniband.git [IPV4]: ICMP header annotations Signed-off-by: Al Viro Signed-off-by: David S. Miller --- 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; };