summaryrefslogtreecommitdiff
path: root/include/linux/if_arp.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-28 05:35:47 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-29 05:02:13 +0400
commitbd6d610a14f2ed896b76dfb61fbdec829e44b8d3 (patch)
treeedc583634cd10646f3920cc04de86afbeac7e714 /include/linux/if_arp.h
parente11be94bf6a3bfc90816d37847e6b5b179ca2ff6 (diff)
downloadlinux-bd6d610a14f2ed896b76dfb61fbdec829e44b8d3.tar.xz
[IPV4]: ARP header annotated
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_arp.h')
-rw-r--r--include/linux/if_arp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/if_arp.h b/include/linux/if_arp.h
index a8b1a2071838..7f5714214ee3 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
/*