ARP header. More...
#include "L3_ARP.hpp"
Public Attributes | |
uint16_t | hardware_type |
0x0001 (or 0x0100 in network order) indicates Ethernet. More... | |
uint16_t | protocol_type |
0x0800 (or 0x0008 in network order) indicates IP (ETHERTYPE_IP ). More... | |
uint8_t | hardware_address_length |
Typically 6 for 6-byte MAC addresses. More... | |
uint8_t | protocol_address_length |
Typically 4 for 4-byte IPv4 addresses. More... | |
uint16_t | opcode |
Indicates if this is a request or a reply. More... | |
MAC | source_hardware_address |
Source address. More... | |
IPv4_ADDR | source_protocol_address |
Source address. More... | |
MAC | target_hardware_address |
Target address. More... | |
IPv4_ADDR | target_protocol_address |
Target address. More... | |
ARP header.
uint8_t Myra::L3_ARP::Header::hardware_address_length |
Typically 6
for 6-byte MAC addresses.
uint16_t Myra::L3_ARP::Header::hardware_type |
0x0001
(or 0x0100
in network order) indicates Ethernet.
uint16_t Myra::L3_ARP::Header::opcode |
Indicates if this is a request or a reply.
uint8_t Myra::L3_ARP::Header::protocol_address_length |
Typically 4
for 4-byte IPv4 addresses.
uint16_t Myra::L3_ARP::Header::protocol_type |
0x0800
(or 0x0008
in network order) indicates IP (ETHERTYPE_IP
).
MAC Myra::L3_ARP::Header::source_hardware_address |
Source address.
IPv4_ADDR Myra::L3_ARP::Header::source_protocol_address |
Source address.
MAC Myra::L3_ARP::Header::target_hardware_address |
Target address.
IPv4_ADDR Myra::L3_ARP::Header::target_protocol_address |
Target address.