NetBurner 3.5.6
PDF Version |
Address Resolution Protocol packet structure. More...
#include <arp.h>
Public Attributes | |
beuint16_t | hard_Type |
Hardware type (1 for Ethernet) | |
beuint16_t | prot_Type |
Protocol type (0x0800 for IPv4) | |
uint8_t | hard_size |
Hardware address length (6 for MAC) | |
uint8_t | prot_size |
Protocol address length (4 for IPv4) | |
beuint16_t | op_code |
Operation: 1=Request, 2=Reply. | |
MACADR | sender_phy |
Sender MAC address. | |
IPADDR4 | sender_Ip |
Sender IP address. | |
MACADR | target_phy |
Target MAC address. | |
IPADDR4 | target_Ip |
Target IP address. | |
Address Resolution Protocol packet structure.
Defines the structure of an ARP packet as transmitted on Ethernet networks. This structure matches the ARP packet format defined in RFC 826.
ARP packets are used to resolve IP addresses to MAC addresses on local networks. The packet contains both the sender's and target's IP and MAC addresses, along with operation type.