This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

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
Package: icmp (core)

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 12/Jul/2011.

COMMENTS

 
elements/icmpipencap.txt · Last modified: 2011/07/12 11:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki