IPv6RouterSolicitation

Namespace inet

IPv6RouterSolicitation

packet

Router Solicitation Message Format RFC 4861 Section 4.1

Extends

Name Type Description
IPv6NDMessage (unknown -- not in documented files)

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.

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;
}

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