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).
Public Member Functions
TUint8 *EndPtr()
TInt HeaderLength()
TInt MaxHeaderLength()
TInt MinHeaderLength()
voidSetDataLen(TInt)
voidSetType(TInt)
TInt Type()
Private Attributes
TUint8 i

Member Functions Documentation

EndPtr()

TUint8 *EndPtr()[inline]

HeaderLength()

TInt HeaderLength()const [inline]

MaxHeaderLength()

TInt MaxHeaderLength()[static, inline]

MinHeaderLength()

TInt MinHeaderLength()[static, inline]

SetDataLen(TInt)

voidSetDataLen(TIntaLen)[inline]

Parameters

TInt aLen

SetType(TInt)

voidSetType(TIntaType)[inline]

Parameters

TInt aType

Type()

TInt Type()const [inline]

Member Data Documentation

TUint8 i

TUint8 i[private]