TInet6Options Class Reference

#include <ext_hdr.h>

class TInet6Options

Detailed Description

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 Enumeration Documentation

Enum TOffsets

EnumeratorValueDescription
O_NextHeader
O_HdrExtLen
O_Options

Member Function 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 )

voidSetHdrExtLen(TIntaLen)[inline]

SetNextHeader ( TInt )

voidSetNextHeader(TIntaNext)[inline]