Ipv6HopByHopOptionsHeader¶
Namespace: inet
class Ipv6HopByHopOptionsHeader
Hop-by-Hop Options Header. RFC 2460 Section 4.3 Next Header Value: 0
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
This serves as the base class for all the Ipv6 extension headers. |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
extensionType |
||
nextHeaderProtocol |
Next Header field (on the wire) |
|
extensionType |
||
chunkLength |
chunkLength = utils::roundUp(2 + tlvOptions.getLength(), 8); |
|
tlvOptions |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Hop-by-Hop Options Header.
// RFC 2460 Section 4.3
// Next Header Value: 0
//
class Ipv6HopByHopOptionsHeader extends Ipv6ExtensionHeader
{
extensionType = IP_PROT_IPv6EXT_HOP;
chunkLength = B(8);
// chunkLength = utils::roundUp(2 + tlvOptions.getLength(), 8);
TlvOptions tlvOptions;
}