Packet IPv6Redirect

File: src/networklayer/icmpv6/IPv6NDMessage.msg

Redirect Message Format RFC 2461 Section 4.5

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
destinationAddress IPv6Address
code int

customize=true;

type int

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

targetLinkLayerAddress MACAddress

Possible Options

targetAddress IPv6Address

Additional ICMP fields

Source code:

//
// Redirect Message Format
// RFC 2461 Section 4.5
//
packet IPv6Redirect extends IPv6NDMessage
{
    //Additional ICMP fields
    IPv6Address targetAddress;
    IPv6Address destinationAddress;

    //Possible Options
    MACAddress targetLinkLayerAddress;
        //Redirected Header Encapsulated Msg
}