TInet6OptionBase Class Reference

class TInet6OptionBase

IPv6 Option value header.

A basic class for handling Type-Length-Value (TLV) options.

        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
      |  Option Type  |  Opt Data Len |  Option Data
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -

      Option Type          8-bit identifier of the type of option.

      Opt Data Len         8-bit unsigned integer.  Length of the Option
                           Data field of this option, in octets.

      Option Data          Variable-length field.  Option-Type-specific
                           data.
       
Option values are used inside option headers (for example: Hop-by-Hop options and Destination options).

Member Functions Documentation

EndPtr()

TUint8 * EndPtr ( ) [inline]

HeaderLength()

TInt HeaderLength ( ) const [inline]

MaxHeaderLength()

TInt MaxHeaderLength ( ) [static, inline]

MinHeaderLength()

TInt MinHeaderLength ( ) [static, inline]

SetDataLen(TInt)

void SetDataLen ( TInt aLen ) [inline]

Parameters

TInt aLen

SetType(TInt)

void SetType ( TInt aType ) [inline]

Parameters

TInt aType

Type()

TInt Type ( ) const [inline]

Member Data Documentation

TUint8 i

TUint8 i [private]