Packet IPv6NeighbourSolicitation

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

C++ definition

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 packet

Neighbour Discovery for IPv6. RFC 2461

Fields:

Name Type Description
targetAddress IPv6Address

Additional ICMP fields

sourceLinkLayerAddress MACAddress

The link-layer address for the sender. MUST NOT be included when the source IP address is the unspecified address. Otherwise, on link layers that have addresses this option MUST be included in multicast solicitations and SHOULD be included in unicast solicitations.

code int

customize=true;

type int

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

Source code:

//
// Neighbour Solicitation Message Format
// RFC 4861 Section 4.3
//
packet IPv6NeighbourSolicitation extends IPv6NDMessage
{
    //Additional ICMP fields
    IPv6Address targetAddress;// MUST NOT be a multicast address.

    //Possible Options

    // The link-layer address for the sender.
    // MUST NOT be included when the source IP address is the unspecified address.
    // Otherwise, on link layers that have addresses this option MUST be included in multicast
    // solicitations and SHOULD be included in unicast solicitations.
    MACAddress sourceLinkLayerAddress;
}