Packet IPv6NDMessage

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

C++ definition

Neighbour Discovery for IPv6. RFC 2461

ICMP fields inherited from ICMPv6Message:

ICMP fields not implemented:

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
ICMPv6Message packet

Represents an ICMPv6 packet.

Known subclasses:

Name Type Description
IPv6NeighbourAdvertisement packet

Neighbour Advertisement Message Format RFC 2461 Section 4.4

IPv6NeighbourSolicitation packet

Neighbour Solicitation Message Format RFC 4861 Section 4.3

IPv6Redirect packet

Redirect Message Format RFC 2461 Section 4.5

IPv6RouterAdvertisement packet

Router Advertisement Message Format RFC 2461 Section 4.2 RFC 3775 Section 7.1, RFC 5175 Section 3. (homeAgentFlag)

IPv6RouterSolicitation packet

Router Solicitation Message Format RFC 4861 Section 4.1

Fields:

Name Type Description
code int

customize=true;

type int

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

Source code:

//
// Neighbour Discovery for IPv6.
// RFC 2461
//
// ICMP fields inherited from ~ICMPv6Message:
//    - Type
//
// ICMP fields not implemented:
//    - Checksum
//    - Reserved
//
packet IPv6NDMessage extends ICMPv6Message
{
    //customize=true;
    int code = 0;
}