Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples
arphdr Struct Reference
#include <net/if_arp.h>
Detailed Description
ARP packet header structure.
Data Fields | |
| u_short | ar_hrd |
| Format of hardware address. | |
| u_short | ar_pro |
| Format of protocol address. | |
| u_char | ar_hln |
| Length of hardware address. | |
| u_char | ar_pln |
| Length of protocol address. | |
| u_short | ar_op |
| ARP operation. | |
Field Documentation
|
|
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. |