-
Notifications
You must be signed in to change notification settings - Fork 81
IP6Encap
IP6Encap — Click element; encapsulates packets in static IP6 header
IP6Encap(PROTO, SRC, DST, KEYWORDS)
Ports: 1 input, 1 output
Processing: agnostic
Encapsulates each incoming packet in an IP6 packet with next header proto PROTO, source address SRC, and destination address DST. 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:
- HLIM — Integer, The hop limit of the packet with maximum value of 255
- CLASS — Integer, The service class of the packet. Used for QoS
Wraps packets in an IP6 header specifying IP protocol 4 (IP6-in-IP4), with source 2000:10:1::2 and destination 2000:20:1::2, HLIM is set to 20 hops:
IP6Encap(4, 2000:10:1::2, 2000:20:1::2, HLIM 20)
You could also say "IP6Encap(ipip, ...)
".
- src (read/write) — Returns or sets the SRC parameter.
- dst (read/write) — Returns or sets the DST parameter.
Generated by click-elem2man from ../elements/ip6/ip6encap.hh:11
on 2018/10/03.