summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 18:35:47 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:02:13 -0700
commitbd6d610a14f2ed896b76dfb61fbdec829e44b8d3 (patch)
treeedc583634cd10646f3920cc04de86afbeac7e714 /include
parente11be94bf6a3bfc90816d37847e6b5b179ca2ff6 (diff)
downloadop-kernel-dev-bd6d610a14f2ed896b76dfb61fbdec829e44b8d3.zip
op-kernel-dev-bd6d610a14f2ed896b76dfb61fbdec829e44b8d3.tar.gz
[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')
-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 a8b1a20..7f57142 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
/*
OpenPOWER on IntegriCloud