Mipv6HaInformation¶
Namespace: inet
class Mipv6HaInformation
MIPv6 Home Agent Information Option RFC 3775 Section 7.4
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Fields¶
Name |
Type |
Description |
|---|---|---|
type |
1 byte, 0 is invalid |
|
optionLength |
short |
The length of the option in units of 8 octets, 0 is invalid. // 1 byte |
paddingBytes |
char[] |
padding bytes on end of option |
type |
||
optionLength |
||
reserved |
uint16_t |
|
homeAgentPreference |
uint16_t |
|
homeAgentLifetime |
uint16_t |
seconds |
Properties¶
Name |
Value |
Description |
|---|---|---|
packetData |
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
}