TInet6HeaderHBH Class Reference
IPv6 Hop-by-hop options header.
From RFC 2460
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Next Header | Hdr Ext Len | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
| |
. .
. Options .
. .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Next Header 8-bit selector. Identifies the type of header
immediately following the Hop-by-Hop Options
header. Uses the same values as the IPv4
Protocol field [RFC-1700 et seq.].
Hdr Ext Len 8-bit unsigned integer. Length of the Hop-by-
Hop Options header in 8-octet units, not
including the first 8 octets.
Options Variable-length field, of length such that the
complete Hop-by-Hop Options header is an integer
multiple of 8 octets long. Contains one or more
TLV-encoded options, as described in section
4.2.
And Options is:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
| 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.
Private Attributes |
---|
union TInet6HeaderHBH::@40 | @41 |
Member Functions Documentation
HeaderLength()
TInt
| HeaderLength | ( | ) | const [inline] |
MaxHeaderLength()
TInt
| MaxHeaderLength | ( | ) | [static, inline] |
MinHeaderLength()
TInt
| MinHeaderLength | ( | ) | [static, inline] |
NextHeader()
TInt
| NextHeader | ( | ) | const [inline] |
OptionDataLen()
TInt
| OptionDataLen | ( | ) | const [inline] |
OptionType()
TInt
| OptionType | ( | ) | const [inline] |
SetHdrExtLen(TInt)
void | SetHdrExtLen | ( | TInt | aLength | ) | [inline] |
SetNextHeader(TInt)
void | SetNextHeader | ( | TInt | aNext | ) | [inline] |
SetOptionDataLen(TInt)
void | SetOptionDataLen | ( | TInt | aLength | ) | [inline] |
Sets data length of the first option.
SetOptionType(TInt)
void | SetOptionType | ( | TInt | aType | ) | [inline] |
Sets type of the first option.
Member Data Documentation
union TInet6HeaderHBH::@40 @41
union TInet6HeaderHBH::@40 | @41 | [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.