TInet6HeaderRouting Class Reference

#include <ext_hdr.h>

class TInet6HeaderRouting

Detailed Description

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.

Member Attribute Documentation

i

iAlign

TUint32 iAlign

Member Enumeration Documentation

Enum TOffsets

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]

RoutingType ( )

TInt RoutingType()const [inline]

SegmentsLeft ( )

TInt SegmentsLeft()const [inline]

SetHdrExtLen ( TInt )

voidSetHdrExtLen(TIntaLen)[inline]

SetNextHeader ( TInt )

voidSetNextHeader(TIntaNext)[inline]

SetRoutingType ( TInt )

voidSetRoutingType(TIntaType)[inline]

SetSegmentsLeft ( TInt )

voidSetSegmentsLeft(TIntaValue)[inline]