This Arp packet structure is according to RFC 826. More...
#include <ARP.h>

Data Fields | |
| PNETSIM_MACADDRESS | szDestMac |
| Destination MAC address. | |
| PNETSIM_MACADDRESS | szSrcMac |
| Source MAC address. | |
| ETHERNET_TYPE | nEther_type |
| Ethernet Type. | |
| HARDWARETYPE | n_ar$hrd |
| Hardware Type 2 bytes. | |
| PROTOCOLTYPE | n_ar$pro |
| Protocol Type 2 bytes. | |
| unsigned short int | usn_ar$hln |
| H/W address length 1 byte ,specifies the sizes of the H/W address in bytes. | |
| unsigned short int | usn_ar$pln |
| Protocol address length 1 byte,specifies the sizes of the protocol address in bytes. | |
| OPCODE | n_ar$op |
| Operation REQUEST/REPLY 2 bytes. | |
| PNETSIM_MACADDRESS | sz_ar$sha |
| Hardware address of the sender. | |
| NETSIM_IPAddress | sz_ar$spa |
| Protocol address of the sender. | |
| PNETSIM_MACADDRESS | sz_ar$tha |
| Hardware address of target (if know) otherwise empty 6 bytes. | |
| NETSIM_IPAddress | sz_ar$tpa |
| Protocol address of target. | |
| OPCODE stru_Arp_Packet::n_ar$op |
| PNETSIM_MACADDRESS stru_Arp_Packet::sz_ar$sha |
| NETSIM_IPAddress stru_Arp_Packet::sz_ar$spa |
| PNETSIM_MACADDRESS stru_Arp_Packet::sz_ar$tha |
| NETSIM_IPAddress stru_Arp_Packet::sz_ar$tpa |
| PNETSIM_MACADDRESS stru_Arp_Packet::szDestMac |
| PNETSIM_MACADDRESS stru_Arp_Packet::szSrcMac |
| unsigned short int stru_Arp_Packet::usn_ar$hln |
| unsigned short int stru_Arp_Packet::usn_ar$pln |