From: Al Viro Date: Thu, 28 Sep 2006 01:38:13 +0000 (-0700) Subject: [IPV4]: ICMP header annotations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1dd39ac963040c2d282ab8026b9c9aa9306ea06;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 f0b571f1060b..878cfe4e587f 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; };