TInet6HeaderRouting Class Reference

class TInet6HeaderRouting
IPv6 Routing Header. The Type 0 Routing header has the following format:

    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |  Next Header  |  Hdr Ext Len  | Routing Type=0| Segments Left |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                            Reserved                           |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                                                               |
    +                                                               +
    |                                                               |
    +                           Address[1]                          +
    |                                                               |
    +                                                               +
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                                                               |
    +                                                               +
    |                                                               |
    +                           Address[2]                          +
    |                                                               |
    +                                                               +
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    .                               .                               .
    .                               .                               .
    .                               .                               .
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                                                               |
    +                                                               +
    |                                                               |
    +                           Address[n]                          +
    |                                                               |
    +                                                               +
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

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

   Hdr Ext Len          8-bit unsigned integer.  Length of the Routing
                        header in 8-octet units, not including the first
                        8 octets.  For the Type 0 Routing header, Hdr
                        Ext Len is equal to two times the number of
                        addresses in the header.

   Routing Type         0.


   Segments Left        8-bit unsigned integer.  Number of route
                        segments remaining, i.e., number of explicitly
                        listed intermediate nodes still to be visited
                        before reaching the final destination.

   Reserved             32-bit reserved field.  Initialized to zero for
                        transmission; ignored on reception.

   Address[1..n]        Vector of 128-bit addresses, numbered 1 to n.

This header mapping describes only the fixed part, without any addresses.
Public Member Functions
TUint8 *EndPtr()
TInt HdrExtLen()
TInt HeaderLength()
TInt MaxHeaderLength()
TInt MinHeaderLength()
TInt NextHeader()
TInt RoutingType()
TInt SegmentsLeft()
voidSetHdrExtLen(TInt)
voidSetNextHeader(TInt)
voidSetRoutingType(TInt)
voidSetSegmentsLeft(TInt)
Public Member Enumerations
enumTOffsets { O_NextHeader, O_HdrExtLen, O_RoutingType, O_SegmentsLeft, O_Address = 8 }
Public Attributes
TUint8 i
TUint32 iAlign
Private Attributes
union TInet6HeaderRouting::@44@45

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]

RoutingType()

TInt RoutingType()const [inline]

SegmentsLeft()

TInt SegmentsLeft()const [inline]

SetHdrExtLen(TInt)

voidSetHdrExtLen(TIntaLen)[inline]

Parameters

TInt aLen

SetNextHeader(TInt)

voidSetNextHeader(TIntaNext)[inline]

Parameters

TInt aNext

SetRoutingType(TInt)

voidSetRoutingType(TIntaType)[inline]

Parameters

TInt aType

SetSegmentsLeft(TInt)

voidSetSegmentsLeft(TIntaValue)[inline]

Parameters

TInt aValue

Member Enumerations Documentation

Enum TOffsets

Enumerators

O_NextHeader
O_HdrExtLen
O_RoutingType
O_SegmentsLeft
O_Address = 8

Member Data Documentation

union TInet6HeaderRouting::@44 @45

union TInet6HeaderRouting::@44@45[private]

TUint8 i

TUint8 i

TUint32 iAlign

TUint32 iAlign