Skip to content

Commit bd6d610

Browse files
Al ViroDavid S. Miller
authored andcommitted
[IPV4]: ARP header annotated
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent e11be94 commit bd6d610

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/linux/if_arp.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ struct arpreq_old {
130130

131131
struct arphdr
132132
{
133-
unsigned short ar_hrd; /* format of hardware address */
134-
unsigned short ar_pro; /* format of protocol address */
133+
__be16 ar_hrd; /* format of hardware address */
134+
__be16 ar_pro; /* format of protocol address */
135135
unsigned char ar_hln; /* length of hardware address */
136136
unsigned char ar_pln; /* length of protocol address */
137-
unsigned short ar_op; /* ARP opcode (command) */
137+
__be16 ar_op; /* ARP opcode (command) */
138138

139139
#if 0
140140
/*

0 commit comments

Comments
 (0)