This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
UDPIPEncap -- Click element; encapsulates packets in static UDP/IP headers
UDPIPEncap(SRC, SPORT, DST, DPORT [, CHECKSUM])
Ports: 1 input, 1 output
Package: tcpudp (core)
Encapsulates each incoming packet in a UDP/IP packet with source address SRC, source port SPORT, destination address DST, and destination port DPORT. The UDP checksum is calculated if CHECKSUM? is true; it is true by default. As a special case, if DST is "DST_ANNO", then the destination address is set to the incoming packet's destination address annotation. The UDPIPEncap element adds both a UDP header and an IP header. The Strip element can be used by the receiver to get rid of the encapsulation header.
UDPIPEncap(22.214.171.124, 1234, 126.96.36.199, 1234)
Generated by 'click-elem2man' from '../elements/tcpudp/udpipencap.hh' on 18/Sep/2007.