proconX: Protocol Converter & Gateways

Programmable Gateways

Smart Industrial Communication and Embeddeded Ethernet Solutions
 Login 
We accept VISA, MasterCard, PayPal

World Wide Shipping

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

u_short arphdr::ar_hrd
 

Format of hardware address.

Nut/Net supports ARPHRD_ETHER only.

u_short arphdr::ar_op
 

ARP operation.

May be either ARPOP_REQUEST or ARPOP_REPLY.

u_short arphdr::ar_pro
 

Format of protocol address.

Only ETHERTYPE_IP is supported by Nut/Net.