Packet IPv6RouterAdvertisement

File: src/networklayer/icmpv6/IPv6NDMessage.msg

Router Advertisement Message Format RFC 2461 Section 4.2

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
curHopLimit unsigned int

Additional ICMP fields

MTU unsigned int
otherStatefulConfFlag bool
sourceLinkLayerAddress MACAddress

Possible Options

prefixInformation IPv6NDPrefixInformation[]
managedAddrConfFlag bool
code int

customize=true;

type int

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

reachableTime unsigned int
retransTimer unsigned int
routerLifetime unsigned short

0 indicates router is not a default router

Source code:

//
// Router Advertisement Message Format
// RFC 2461 Section 4.2
//
packet IPv6RouterAdvertisement extends IPv6NDMessage
{
    //Additional ICMP fields
    unsigned int curHopLimit;
    bool managedAddrConfFlag;
    bool otherStatefulConfFlag;
    unsigned short routerLifetime;  // 0 indicates router is not a default router
    unsigned int reachableTime;
    unsigned int retransTimer;

    //Possible Options
    MACAddress sourceLinkLayerAddress;
    unsigned int MTU;
    IPv6NDPrefixInformation prefixInformation[];
}