Ipv6DestinationOptionsHeader

Namespace: inet

class Ipv6DestinationOptionsHeader

Destination Options Header RFC 2460 Section 4.6 Next Header Value: 60

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

Ipv6ExtensionHeader

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

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

extensionType

IpProtocolId

nextHeaderProtocol

IpProtocolId

Next Header field (on the wire)

extensionType

chunkLength

utils::roundUp(2 + tlvOptions.getLength(), 8);

tlvOptions

TlvOptions

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// Destination Options Header
// RFC 2460 Section 4.6
// Next Header Value: 60
//
class Ipv6DestinationOptionsHeader extends Ipv6ExtensionHeader
{
    extensionType = IP_PROT_IPv6EXT_DEST;
    chunkLength = B(8);    // utils::roundUp(2 + tlvOptions.getLength(), 8);
    TlvOptions tlvOptions;
}

File: src/inet/networklayer/ipv6/Ipv6ExtensionHeaders.msg