FANDOM


ICMP (Internet Control Message Protocol) is the protocol that IP uses for control messages.

ICMP supportEdit

The implementation of ICMP supports three protocols:

  • Echo Reply (0) or "ping". The client replies to the ping, echoing the data in the IP packet.
  • Destination Unreachable (3). This is an indication that the device cannot forward an IP packet. For example, this error message will be sent if a packet addressed to the device requires a protocol that the device does not support.
  • Time exceeded (11). This indicates that the device has dropped a packet because its "time to live" (TTL) has reached 0.

ICMP from an application perspective Edit

ICMP messages are processed and generated by the lwIP stack itself. Therefore, an application should not need to interact with the ICMP code at all. If the user wishes to generate its own ping to a device, it can form the packet as an IP packet and send via the IP module.

ICMP support history in lwIP Edit

ICMPv4 supportEdit

HEADStable but limited implementation. Supports echo(0), destination unreachable(3), and time exceeded(11).
@1.2.0Stable but limited implementation. Supports echo(0), destination unreachable(3), and time exceeded(11).

ICMPv6 support Edit

HEADUnknown
1.2.0Unknown

External references Edit

See alsoEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.