FastClick

Elements / ICMP

ICMPPingEncap

encapsulates packets in ICMP ping headers

SYNOPSIS§

ICMPPingEncap(SRC, DST [, keyword IDENTIFIER])

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION§

Encapsulates input packets in an ICMP ping header with source IP address SRC and destination IP address DST. Advances the "sequence" field by one for each packet. (The sequence field is stored in network byte order in the packet.)

Keyword arguments are:

  • IDENTIFIER — Integer. Determines the ICMP identifier field in emitted pings. Default is 0.

ELEMENT HANDLERS§

  • src (read/write) — Returns or sets the SRC argument.
  • dst (read/write) — Returns or sets the DST argument.

SEE ALSO§

ICMPPingSource, ICMPPingResponder, ICMPPingRewriter

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