24 bool ICMP::onPacketReceived()
44 #if ENABLE_ICMP_RX_CHECKSUM
bool loadAll()
Loads the entire ICMP packet into memory.
static EthBuffer packet
in-memory packet buffer currently being processed.
virtual bool onICMPMessage()=0
represents an IP address in memory
Contains functions to perform IP checksum operations.
void sendICMPPacket(const IPAddress &targetIP, uint16_t dataLength)
Sends an ICMP packet
void calcICMPChecksum()
Calculates the ICMP checksum and populates the checksum field in the ICMP header. ...
#define EtherDune_BUFFER_SIZE
RAM memory buffer size to hold a packet.
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 ...
static const uint8_t IP_PROTO_ICMP
IP header protocol type for ICMP.