#include <ext_hdr.h>
| class TInet6HeaderRouting |
| Public Attributes | |
|---|---|
| TUint8 | i |
| TUint32 | iAlign |
| Public Member Enumerations | |
|---|---|
| enum | TOffsets { O_NextHeader, O_HdrExtLen, O_RoutingType, O_SegmentsLeft, O_Address } |
| Public Member Functions | |
|---|---|
| TUint8 * | EndPtr() |
| TInt | HdrExtLen() |
| TInt | HeaderLength() |
| TInt | MaxHeaderLength() |
| TInt | MinHeaderLength() |
| TInt | NextHeader() |
| TInt | RoutingType() |
| TInt | SegmentsLeft() |
| void | SetHdrExtLen(TInt) |
| void | SetNextHeader(TInt) |
| void | SetRoutingType(TInt) |
| void | SetSegmentsLeft(TInt) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 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.