IPv6NDPrefixInformation

Namespace inet

IPv6NDPrefixInformation

class

IPv6ND Prefix Information RFC 2461 / RFC 4861 Section 4.6.2 RFC 3775 Section 7.2 (routerAddressFlag)

Extends

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

Fields

Name Type Description
prefixLength unsigned short
onlinkFlag bool

L-bit

autoAddressConfFlag bool

A-bit

routerAddressFlag bool

R-bit: used in case of MIPv6 when the H-bit is set

validLifetime unsigned int

seconds

preferredLifetime unsigned int

seconds

prefix IPv6Address

Source code

//
// IPv6ND Prefix Information
// RFC 2461 / RFC 4861 Section 4.6.2
// RFC 3775 Section 7.2 (routerAddressFlag)
//
class IPv6NDPrefixInformation extends cObject
{
    unsigned short prefixLength;
    bool onlinkFlag;        //L-bit
    bool autoAddressConfFlag;    //A-bit
    bool routerAddressFlag;        //R-bit: used in case of MIPv6 when the H-bit is set
    unsigned int validLifetime;    // seconds
    unsigned int preferredLifetime;    // seconds
    IPv6Address prefix;
}

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