Ipv6NeighbourAdvertisement

Namespace inet

Ipv6NeighbourAdvertisement

class

Neighbour Advertisement Message Format RFC 2461 Section 4.4

Extends

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

Fields

Name Type Description
chunkLength

without options

type
routerFlag bool

Additional ICMP fields

solicitedFlag bool

S-flag

overrideFlag bool

O-flag

reserved uint32_t
targetAddress Ipv6Address

MUST NOT be a multicast address.

options Ipv6NdOptions

Packet operations (observed)

actionmodule
insertAtFrontIpv6NeighbourDiscovery

Source code

//
// Neighbour Advertisement Message Format
// RFC 2461 Section 4.4
//
class Ipv6NeighbourAdvertisement extends Ipv6NdMessage
{
    chunkLength = B(24);    // without options
    type = ICMPv6_NEIGHBOUR_AD;
    //Additional ICMP fields
    bool routerFlag;    //R-flag
    bool solicitedFlag;    //S-flag
    bool overrideFlag;    //O-flag
    uint32_t reserved = 0;
    Ipv6Address targetAddress;// MUST NOT be a multicast address.
    Ipv6NdOptions options;
}

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