Ipv6Redirect

Ipv6Redirect

class

Redirect Message Format RFC 2461 Section 4.5

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
Ipv6NdMessage class

Neighbour Discovery for Ipv6. RFC 2461

Fields

Name Type Description
chunkLength b
type Icmpv6Type

1 byte

targetAddress Ipv6Address

Additional ICMP fields

destinationAddress Ipv6Address
options Ipv6NdOptions
code int
chksum int

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

crcMode CrcMode

4 bytes 'type' specific values

mutable bool
complete bool
correct bool
properlyRepresented bool
rawBin string[]
rawHex string[]
tags RegionTagSet::cObjectRegionTag[]

Source code

//
// Redirect Message Format
// RFC 2461 Section 4.5
//
class Ipv6Redirect extends Ipv6NdMessage
{
    chunkLength = B(40);    // without options
    type = ICMPv6_REDIRECT;
    //Additional ICMP fields
    Ipv6Address targetAddress;
    Ipv6Address destinationAddress;
    Ipv6NdOptions options;
}

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