Ipv6NeighbourSolicitation

Ipv6NeighbourSolicitation

class

Neighbour Solicitation Message Format RFC 4861 Section 4.3

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

reserved uint32_t

Additional ICMP fields

targetAddress Ipv6Address

MUST NOT be a multicast address.

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

//
// Neighbour Solicitation Message Format
// RFC 4861 Section 4.3
//
class Ipv6NeighbourSolicitation extends Ipv6NdMessage
{
    chunkLength = B(24);    // without options
    type = ICMPv6_NEIGHBOUR_SOL;
    //Additional ICMP fields
    uint32_t reserved = 0;
    Ipv6Address targetAddress;// MUST NOT be a multicast address.
    Ipv6NdOptions options;
}

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