Packet IPv6RouterSolicitation

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

C++ definition

Router Solicitation Message Format RFC 4861 Section 4.1

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
sourceLinkLayerAddress MACAddress

The link-layer address of the sender, if known. MUST NOT be included if the Source Address is the unspecified address. Otherwise, it SHOULD be included on link layers that have addresses.

code int

customize=true;

type int

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

Source code:

//
// Router Solicitation Message Format
// RFC 4861 Section 4.1
//
packet IPv6RouterSolicitation extends IPv6NDMessage
{
    // The link-layer address of the sender, if known.
    // MUST NOT be included if the Source Address is the unspecified address.
    // Otherwise, it SHOULD be included on link layers that have addresses.
    MACAddress sourceLinkLayerAddress;
}