19 bool ICMPPingAutoReply::onICMPMessage()
29 #if !ENABLE_ICMP_RX_CHECKSUM
static const uint8_t ICMP_TYPE_ECHOREPLY
ICMP echo reply operation type.
bool loadAll()
Loads the entire ICMP packet into memory.
static EthBuffer packet
in-memory packet buffer currently being processed.
static const uint8_t ICMP_TYPE_ECHOREQUEST
ICMP echo request operation type.
void calcICMPChecksum()
Calculates the ICMP checksum and populates the checksum field in the ICMP header. ...
static bool sendIPPacket(uint16_t length)
Puts the current in-memory packet in the network
static void prepareIPPacket(const IPAddress &remoteIP)
Sets up common IP header values for all outgoing IP packets and calculates the IP header checksum ...