FastClick

Elements / ICMP

ICMPPingResponder

responds to ICMP echo requests

SYNOPSIS§

ICMPPingResponder()

Batching: Batching natively supported
Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push

DESCRIPTION§

Respond to ICMP echo requests. Incoming packets must have their IP header annotations set. The corresponding reply is generated for any ICMP echo request and emitted on output 0. The reply's destination IP address annotation is set appropriately, its paint annotation is cleared, and its timestamp is set to the current time. Other annotations are copied from the input packet. IP packets other than ICMP echo requests are emitted on the second output, if there are two outputs; otherwise, they are dropped.

BUGS§

ICMPPingResponder does not pay attention to source route options; it should.

SEE ALSO§

ICMPSendPings, ICMPError

Generated by click-elem2man from ../elements/icmp/icmppingresponder.hh:6 on 2026/11/02.