]> err.no Git - linux-2.6/commitdiff
[IPV4]: ICMP header annotations
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:38:13 +0000 (18:38 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:18 +0000 (18:02 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/icmp.h

index f0b571f1060ba23aa0542d1bc33943e2fbd0ef75..878cfe4e587f29d0d5dd3129180227bed8bf8990 100644 (file)
 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;
 };