Ipv6Redirect

Namespace inet

Ipv6Redirect

class

Redirect Message Format RFC 2461 Section 4.5

Extends

Name Type Description
Ipv6NdMessage (unknown -- not in documented files)

Fields

Name Type Description
chunkLength

without options

type
targetAddress Ipv6Address

Additional ICMP fields

destinationAddress Ipv6Address
options Ipv6NdOptions

Source code

//
// Redirect Message Format
// RFC 2461 Section 4.5
//
class Ipv6Redirect extends Ipv6NdMessage
{
    chunkLength = B(40);    // without options
    type = ICMPv6_REDIRECT;
    //Additional ICMP fields
    Ipv6Address targetAddress;
    Ipv6Address destinationAddress;
    Ipv6NdOptions options;
}

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