Message ICMPv6Message

File: Network/ICMPv6/ICMPv6Message.msg

C++ definition: click here

Represents an ICMPv6 packet.

Notes: 1. number of octets excluding the error datagram that is usually appended in optInfo, i.e. the Type|CODE|CHECKSUM|UNUSED/POINTER/MTU/OTHER as defined in RFC2463 2. Any ICMP type with MSB set, i.e. >=128 is an Informational ICMP message

Inheritance diagram:

The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.

ICMPv6Message ICMPv6DestUnreachableMsg ICMPv6PacketTooBigMsg ICMPv6TimeExceededMsg ICMPv6ParamProblemMsg ICMPv6EchoRequestMsg ICMPv6EchoReplyMsg IPv6NDMessage

Known subclasses:

ICMPv6DestUnreachableMsg

Notes: 1. As defined in RFC2463: Section 3

ICMPv6PacketTooBigMsg (no description)
ICMPv6TimeExceededMsg (no description)
ICMPv6ParamProblemMsg (no description)
ICMPv6EchoRequestMsg

ICMPv6 Echo Request packet (RFC2463: Section 4). Data is attached through encapsulation (see ICMPv6.cc)

ICMPv6EchoReplyMsg

ICMPv6 Echo Reply packet. Data is attached through encapsulation (see ICMPv6.cc)

IPv6NDMessage

Neighbour Discovery for IPv6. RFC 2461

Properties:

Name Value Description
omitGetVerb true

Fields:

Name Type Description
type int

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

Source code:

message ICMPv6Message
{
    properties:
        omitGetVerb = true;
    fields:
        int type enum(ICMPv6Type);
        //int code; //TODO: this should be specific to different ICMP types.
};