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.
Private Attributes
|
union TInet6HeaderRouting::@44
|
@45
|
Member Functions Documentation
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)
void
|
SetHdrExtLen
|
(
|
TInt
|
aLen
|
)
|
[inline]
|
SetNextHeader(TInt)
void
|
SetNextHeader
|
(
|
TInt
|
aNext
|
)
|
[inline]
|
SetRoutingType(TInt)
void
|
SetRoutingType
|
(
|
TInt
|
aType
|
)
|
[inline]
|
SetSegmentsLeft(TInt)
void
|
SetSegmentsLeft
|
(
|
TInt
|
aValue
|
)
|
[inline]
|
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]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.