TInet6Options Class Reference

class TInet6Options

IPv6 Option extension headers (Hop-by-Hop, Destination Options).

        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Next Header  |  Hdr Ext Len  |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   .                                                               .
   .                            Options                            .
   .                                                               .
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

  Next Header          8-bit selector.  Identifies the type of header
                       immediately following the Destination Options
                       header.  Uses the same values as the IPv4
                       Protocol field [RFC-1700 et seq.].

  Hdr Ext Len          8-bit unsigned integer.  Length of the
                       Destination Options header in 8-octet units, not
                       including the first 8 octets.

  Options              Variable-length field, of length such that the
                       complete Destination Options header is an
                       integer multiple of 8 octets long.  Contains one
                       or  more TLV-encoded options, as described in
                       section 4.2.
       
This mapping describes only the minimal 8 bytes.

Member Functions Documentation

EndPtr()

TUint8 * EndPtr ( ) [inline]

HdrExtLen()

TInt HdrExtLen ( ) const [inline]

HeaderLength()

TInt HeaderLength ( ) const [inline]

MaxHeaderLength()

TInt MaxHeaderLength ( ) [static, inline]

MinHeaderLength()

TInt MinHeaderLength ( ) [static, inline]

NextHeader()

TInt NextHeader ( ) const [inline]

SetHdrExtLen(TInt)

void SetHdrExtLen ( TInt aLen ) [inline]

Parameters

TInt aLen

SetNextHeader(TInt)

void SetNextHeader ( TInt aNext ) [inline]

Parameters

TInt aNext

Member Enumerations Documentation

Enum TOffsets

Enumerators

O_NextHeader
O_HdrExtLen
O_Options

Member Data Documentation

TUint8 i

TUint8 i [private]