9#ifndef MAXOS_NET_ICMP_H
10#define MAXOS_NET_ICMP_H
A stream that strings can be written to.
Handles the payload of a specific IP protocol.
InternetProtocolHandler * internet_protocol_handler
The Internet protocol handler this payload handler is connected to.
bool handle_internet_protocol_payload(net::InternetProtocolAddress src_ip_be, net::InternetProtocolAddress dst_ip_be, uint8_t *payload_data, uint32_t size) final
Called by the InternetProtocolProvider when a new packet has arrived.
void request_echo_reply(uint32_t ip_be)
Sends an ICMP echo request to the specified IP address.
Handles IPv4 packets over Ethernet frames.
Defines classes and structures for handling Internet Protocol version 4 (IPv4) packets.
uint32_t InternetProtocolAddress
An IPv4 address.
Defines OutputStream and GenericOutputStream classes for writing data to streams.