Mipv6HaInformation

Mipv6HaInformation

class

MIPv6 Home Agent Information Option RFC 3775 Section 7.4

Inheritance diagram

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

Extends

Name Type Description
Ipv6NdOption class (no description)

Fields

Name Type Description
type Ipv6NdOptionTypes

1 byte, 0 is invalid

optionLength short

The length of the option in units of 8 octets, 0 is invalid. // 1 byte

reserved uint16_t
homeAgentPreference uint16_t
homeAgentLifetime uint16_t

seconds

paddingBytes char[]

padding bytes on end of option

Source code

//MIPv6 Home Agent Information Option
//RFC 3775 Section 7.4
class Mipv6HaInformation extends Ipv6NdOption
{
    type = IPv6ND_HOME_AGENT_INFORMATION_OPTION;
    optionLength = 1;
    uint16_t reserved;
    uint16_t homeAgentPreference;
    uint16_t homeAgentLifetime;    // seconds
}

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