|ICMP Module for Modtronix TCP/IP Stack. |
Normally, ICMP is used to send and receive IP error or diagnostic messages. In the Modtronix TCP/IP Stack, ICMP implements ICMP primitives that can be used to generate any of the ICMP messages. In embedded applications, ICMP is useful for diagnostic purpose. When enabled, ICMP can respond to 'ping' packets, thus allowing a remote host to determine local host presence.
The Microchip ICMP layer only responds to ping data packets of up to 32 bytes; larger packets will be ignored. If it is necessary to handle larger packets, modify the compiler define MAX_ICMP_DATA_LEN (in the header file "stacktsk.h").