You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
IP6Encap Element Documentation
NAME
IP6Encap — Click element;
encapsulates packets in static IP6 header
SYNOPSIS
IP6Encap(PROTO, SRC, DST, KEYWORDS)
Ports: 1 input, 1 output Processing: agnostic
DESCRIPTION
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
EXAMPLES
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, ...)".
ELEMENT HANDLERS
src (read/write) —
Returns or sets the SRC parameter.
dst (read/write) —
Returns or sets the DST parameter.