#include <netinet/if_ether.h>
Data Fields | |
u_short | arp_hrd |
Format of hardware address. | |
u_short | arp_pro |
Format of protocol address. | |
u_char | arp_hln |
Length of hardware address. | |
u_char | arp_pln |
Length of protocol address. | |
u_short | arp_op |
ARP operation. | |
u_char | arp_sha [6] |
Source hardware address. | |
u_long | arp_spa |
Source protocol address. | |
u_char | arp_tha [6] |
Target hardware address. | |
u_long | arp_tpa |
Target protocol address. | |
ARPHDR | ea_hdr |
Fixed-size header. |
See RFC 826 for protocol description.
|
Format of hardware address. Nut/Net supports ARPHRD_ETHER only. |
|
ARP operation. May be either ARPOP_REQUEST or ARPOP_REPLY. |
|
Format of protocol address. Only ETHERTYPE_IP is supported by Nut/Net. |