Packet IPv6Redirect

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

C++ definition

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.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

Name Type Description
IPv6NDMessage packet

Neighbour Discovery for IPv6. RFC 2461

Fields:

Name Type Description
targetAddress IPv6Address

Additional ICMP fields

destinationAddress IPv6Address
targetLinkLayerAddress MACAddress

Possible Options

code int

customize=true;

type int

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

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
}