address_resolution_protocol::address_resolution_protocol
Signature: address_resolution_protocol::address_resolution_protocol(ether_frame_provider* ether): ether_frame_handler(ether, 0x806)
Attributes: undefined
Description: Constructor for the address resolution protocol class
Parameters:
ether_frame_provider* ether
address_resolution_protocol::~address_resolution_protocol
Signature: address_resolution_protocol::~address_resolution_protocol()
Attributes: undefined
Description: Destructor for the address resolution protocol class
address_resolution_protocol::on_ether_frame_received
Signature: bool address_resolution_protocol::on_ether_frame_received(uint8_t* payload, uint32_t size)
Description: Handles an Ethernet frame
Parameters:
uint8_t* payload
uint32_t size
Return: bool
address_resolution_protocol::broadcast_mac
Signature: void address_resolution_protocol::broadcast_mac(uint32_t ip_be)
Description: Broadcasts an ARP packet
Parameters:
Return: void
address_resolution_protocol::request_mac_address
Signature: void address_resolution_protocol::request_mac_address(uint32_t ip_be)
Description: Requests the MAC address of a host
Parameters:
Return: void
address_resolution_protocol::get_mac_from_cache
Signature: uint64_t address_resolution_protocol::get_mac_from_cache(uint32_t ip_be)
Description: Gets the MAC address of a host from the cache
Parameters:
Return: uint64_t
address_resolution_protocol::resolve
Signature: uint64_t address_resolution_protocol::resolve(uint32_t ip_be)
Description: Resolves an IP address to a MAC address
Parameters:
Return: uint64_t
Show file on GitHub