This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
IPEncap -- Click element; encapsulates packets in static IP header
IPEncap(PROTO, SRC, DST, KEYWORDS)
Ports: 1 input, 1 output
Package: ip (core)
Encapsulates each incoming packet in an IP packet with protocol PROTO, source address SRC, and destination address DST. This is most useful for IP-in-IP encapsulation. Its destination address annotation is also set to DST. As a special case, if DST is "DST_ANNO", then the destination address is set to the incoming packet's destination address annotation. Keyword arguments are:
Wraps packets in an IP header specifying IP protocol 4 (IP-in-IP), with source 18.104.22.168 and destination 22.214.171.124:
IPEncap(4, 126.96.36.199, 188.8.131.52)
You could also say "
Generated by 'click-elem2man' from '../elements/ip/ipencap.hh' on 18/Sep/2007.