1 #ifndef IPTRAF_NG_ARPHDR_H
2 #define IPTRAF_NG_ARPHDR_H
5 * arp header format, stolen from the Linux include files.
9 unsigned short ar_hrd
; /* format of hardware address */
10 unsigned short ar_pro
; /* format of protocol address */
11 unsigned char ar_hln
; /* length of hardware address */
12 unsigned char ar_pln
; /* length of protocol address */
13 unsigned short ar_op
; /* ARP opcode (command) */
16 * Ethernet looks like this : This bit is variable sized however...
18 unsigned char ar_sha
[ETH_ALEN
]; /* sender hardware address */
19 unsigned char ar_sip
[4]; /* sender IP address */
20 unsigned char ar_tha
[ETH_ALEN
]; /* target hardware address */
21 unsigned char ar_tip
[4]; /* target IP address */
24 #endif /* IPTRAF_NG_ARPHDR_H */