Packet IPv6NDMessage

File: src/networklayer/icmpv6/IPv6NDMessage.msg

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. 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:

ICMPv6Message (packet)

Represents an ICMPv6 packet.

Known subclasses:

IPv6NeighbourAdvertisement (packet)

Neighbour Advertisement Message Format RFC 2461 Section 4.4

IPv6NeighbourSolicitation (packet)

Neighbour Solicitation Message Format RFC 2461 Section 4.3

IPv6Redirect (packet)

Redirect Message Format RFC 2461 Section 4.5

IPv6RouterAdvertisement (packet)

Router Advertisement Message Format RFC 2461 Section 4.2

IPv6RouterSolicitation (packet)

Router Solicitation Message Format RFC 2461 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;
}