Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

DynamicUDPIPEncap Element Documentation

NAME

DynamicUDPIPEncap — Click element; encapsulates packets in dynamic UDP/IP headers

SYNOPSIS

DynamicUDPIPEncap(SRC, SPORT, DST, DPORT [, CHECKSUM, INTERVAL])

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Encapsulates each incoming packet in a UDP/IP packet with source address SRC, source port SPORT, destination address DADDR, and destination port DPORT. The UDP checksum is calculated if CHECKSUM? is true; it is true by default. SPORT and DPORT are incremented by 1 every INTERVAL number of packets. By default, INTERVAL is 0, which means do not increment. This is the same element as UDPIPEncap, except for the INTERVAL functionality.

The DynamicUDPIPEncap 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.

EXAMPLES

 DynamicUDPIPEncap(1.0.0.1, 1234, 2.0.0.2, 1234, 1, 10)

SEE ALSO

Strip, IPEncap, UDPIPEncap

Generated by click-elem2man from ../elements/tcpudp/dynudpipencap.hh:9 on 2017/10/17.

Clone this wiki locally