Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

ICMPIPEncap Element Documentation

NAME

ICMPIPEncap — Click element; encapsulates packets in ICMP/IP headers

SYNOPSIS

ICMPIPEncap(SRC, DST, TYPE [, CODE, keywords IDENTIFIER])

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Encapsulates input packets in an ICMP/IP header with source IP address SRC, destination IP address DST, ICMP type TYPE and code CODE. TYPE and CODE may be integers between 0 and 255 or mnemonic names; CODE defaults to 0. If the corresponding header of the specified ICMP type contains a sequence field, it is advanced by one for each packet. (The sequence field is stored in network byte order in the packet.)

Keyword arguments are:

  • IDENTIFIER — Integer (also stored in network byte order). Determines the ICMP identifier field in emitted ICMP packets. 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

ICMPPingEncap, ICMPError

Generated by click-elem2man from ../elements/icmp/icmpipencap.hh:7 on 2018/10/03.

Clone this wiki locally