Ipv6NdMessage

Ipv6NdMessage

class

Neighbour Discovery for Ipv6. RFC 2461

ICMP fields inherited from Icmpv6Header:

    • Type

ICMP fields not implemented:

    • Checksum
    • Reserved

Inheritance diagram

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

Extends

Name Type Description
Icmpv6Header class

Represents an ICMPv6 packet.

Known subclasses

Name Type Description
Ipv6NeighbourAdvertisement class

Neighbour Advertisement Message Format RFC 2461 Section 4.4

Ipv6NeighbourSolicitation class

Neighbour Solicitation Message Format RFC 4861 Section 4.3

Ipv6Redirect class

Redirect Message Format RFC 2461 Section 4.5

Ipv6RouterAdvertisement class

Router Advertisement Message Format RFC 2461 Section 4.2 RFC 3775 Section 7.1, RFC 5175 Section 3. (homeAgentFlag)

Ipv6RouterSolicitation class

Router Solicitation Message Format RFC 4861 Section 4.1

Fields

Name Type Description
code int
chunkLength b
type Icmpv6Type

1 byte

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

//
// Neighbour Discovery for Ipv6.
// RFC 2461
//
// ICMP fields inherited from ~Icmpv6Header:
//    - Type
//
// ICMP fields not implemented:
//    - Checksum
//    - Reserved
//
class Ipv6NdMessage extends Icmpv6Header
{
    int code = 0;
}

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