![]() |
NetSim Source Code Help
|
This Arp packet structure is according to RFC 826. More...
#include <ARP.h>

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