Packet IPv6NeighbourAdvertisement

File: src/networklayer/icmpv6/IPv6NDMessage.msg

Neighbour Advertisement Message Format RFC 2461 Section 4.4

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

IPv6NDMessage (packet)

Neighbour Discovery for IPv6. RFC 2461

Fields:

Name Type Description
code int

customize=true;

type int

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

solicitedFlag bool
routerFlag bool

Additional ICMP fields

overrideFlag bool
targetLinkLayerAddress MACAddress

Possible Options

targetAddress IPv6Address

MUST NOT be a multicast address.

Source code:

//
// Neighbour Advertisement Message Format
// RFC 2461 Section 4.4
//
packet IPv6NeighbourAdvertisement extends IPv6NDMessage
{
    //Additional ICMP fields
    bool routerFlag;
    bool solicitedFlag;
    bool overrideFlag;
    IPv6Address targetAddress;// MUST NOT be a multicast address.

    //Possible Options
    MACAddress targetLinkLayerAddress;
}