Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

icmp_provider::icmp_provider

Signature: icmp_provider::icmp_provider(ipv4_provider* ipv4) : ipv4_handler(ipv4, 0x01)
Attributes: undefined
Description: Constructor for the icmp provider class

Parameters:

icmp_provider::~icmp_provider

Signature: icmp_provider::~icmp_provider()
Attributes: undefined
Description: Destructor for the icmp provider class

icmp_provider::on_internet_protocol_received

Signature: bool icmp_provider::on_internet_protocol_received(uint32_t srcIP_BE, uint32_t dstIP_BE, uint8_t* payload, uint32_t size)
Description: Handles an IPv4 packet

Parameters:

Return: bool

icmp_provider::send_echo_request

Signature: void icmp_provider::send_echo_request(uint32_t dstIP_BE)
Description: Sends an ICMP echo request

Parameters:

Return: void

icmp_provider::send_echo_reqest_and_wait

Signature: bool icmp_provider::send_echo_reqest_and_wait(uint32_t dstIP_BE)
Description: Sends an ICMP echo request and waits for an echo reply

Parameters:

Return: bool

Show file on GitHub