Icmpv6DestUnreachableMsg

Namespace: inet

class Icmpv6DestUnreachableMsg

Notes:
  1. As defined in RFC2463: Section 3

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

Icmpv6Header

class

Represents an ICMPv6 packet.

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

type

Icmpv6Type

1 byte int code; // 1 byte //TODO this should be specific to different ICMP types.

chksum

int

2 bytes

checksumMode

ChecksumMode

4 bytes ‘type’ specific values

type

code

Icmpv6DestUnav

unused 4 bytes

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// Notes:
//   1. As defined in RFC2463: Section 3
//
class Icmpv6DestUnreachableMsg extends Icmpv6Header
{
    type = ICMPv6_DESTINATION_UNREACHABLE;
    Icmpv6DestUnav code;
    // unused 4 bytes
}

File: src/inet/networklayer/icmpv6/Icmpv6Header.msg