This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

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
Package: ip6 (core)

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.

SEE ALSO

UDPIP6Encap

Generated by 'click-elem2man' from '../elements/ip6/ip6encap.hh' on 28/Feb/2010.

COMMENTS

 
elements/ip6encap.txt · Last modified: 2010/02/28 13:58 (external edit)
 
Recent changes RSS feed Driven by DokuWiki