From: Al Viro Date: Thu, 28 Sep 2006 01:35:47 +0000 (-0700) Subject: [IPV4]: ARP header annotated X-Git-Tag: v2.6.19-rc1~858^2~62 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd6d610a14f2ed896b76dfb61fbdec829e44b8d3;p=linux-2.6 [IPV4]: ARP header annotated Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/linux/if_arp.h b/include/linux/if_arp.h index a8b1a20718..7f5714214e 100644 --- a/include/linux/if_arp.h +++ b/include/linux/if_arp.h @@ -130,11 +130,11 @@ struct arpreq_old { struct arphdr { - unsigned short ar_hrd; /* format of hardware address */ - unsigned short ar_pro; /* format of protocol address */ + __be16 ar_hrd; /* format of hardware address */ + __be16 ar_pro; /* format of protocol address */ unsigned char ar_hln; /* length of hardware address */ unsigned char ar_pln; /* length of protocol address */ - unsigned short ar_op; /* ARP opcode (command) */ + __be16 ar_op; /* ARP opcode (command) */ #if 0 /*