UDPIP6Encap
encapsulates packets in static UDP/IP6 headers
SYNOPSIS§
UDPIP6Encap(SRC, SPORT, DST, DPORT)
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic
DESCRIPTION§
Encapsulates each incoming packet in a UDP/IP6 packet with source address SRC, source port SPORT, destination address DST, and destination port DPORT. The UDP checksum is always calculated, since in IPv6 the UDP checksum is mandatory.
As a special case, if DST is "DST_ANNO", then the destination address is set to the incoming packet's destination address annotation.
The UDPIP6Encap element adds both a UDP header and an IP6 header.
The Strip element can be used by the receiver to get rid of the encapsulation header.
EXAMPLES§
UDPIP6Encap(2001:2001:2001:2001::1, 1234, 2001:2001:2001:2001::2, 1234)
ELEMENT HANDLERS§
- src (read/write) — Returns or sets the SRC source address argument.
- sport (read/write) — Returns or sets the SPORT source port argument.
- dst (read/write) — Returns or sets the DST destination address argument.
- dport (read/write) — Returns or sets the DPORT destination port argument.
SEE ALSO§
Generated by click-elem2man from ../elements/tcpudp/udpip6encap.hh:11 on 2026/11/02.