ICMPv6 Option Prefix Information.
More...
#include <icmpv6-header.h>
List of all members.
Detailed Description
ICMPv6 Option Prefix Information.
Constructor & Destructor Documentation
ns3::Icmpv6OptionPrefixInformation::Icmpv6OptionPrefixInformation |
( |
Ipv6Address |
network, |
|
|
uint8_t |
prefixlen | |
|
) |
| | |
Constructor.
- Parameters:
-
| network | prefix |
| prefixlen | prefix length |
Member Function Documentation
virtual uint32_t ns3::Icmpv6OptionPrefixInformation::Deserialize |
( |
Buffer::Iterator |
start |
) |
[virtual] |
uint8_t ns3::Icmpv6OptionPrefixInformation::GetFlags |
( |
|
) |
const |
Get the flags.
- Returns:
- the flags.
virtual TypeId ns3::Icmpv6OptionPrefixInformation::GetInstanceTypeId |
( |
|
) |
const [virtual] |
uint32_t ns3::Icmpv6OptionPrefixInformation::GetPreferredTime |
( |
|
) |
const |
Get the preferred time of the information.
- Returns:
- preferred time
Ipv6Address ns3::Icmpv6OptionPrefixInformation::GetPrefix |
( |
|
) |
const |
Get the IPv6 prefix.
- Returns:
- IPv6 prefix
uint8_t ns3::Icmpv6OptionPrefixInformation::GetPrefixLength |
( |
|
) |
const |
Get the prefix length.
- Returns:
- prefix length
uint32_t ns3::Icmpv6OptionPrefixInformation::GetReserved |
( |
|
) |
const |
Get the reserved field.
- Returns:
- the reserved field (should be 0x00000000)
virtual uint32_t ns3::Icmpv6OptionPrefixInformation::GetSerializedSize |
( |
|
) |
const [virtual] |
static TypeId ns3::Icmpv6OptionPrefixInformation::GetTypeId |
( |
void |
|
) |
[static] |
uint32_t ns3::Icmpv6OptionPrefixInformation::GetValidTime |
( |
|
) |
const |
Get the valid time of the information.
- Returns:
- valid time
virtual void ns3::Icmpv6OptionPrefixInformation::Print |
( |
std::ostream & |
os |
) |
const [virtual] |
virtual void ns3::Icmpv6OptionPrefixInformation::Serialize |
( |
Buffer::Iterator |
start |
) |
const [virtual] |
void ns3::Icmpv6OptionPrefixInformation::SetFlags |
( |
uint8_t |
flags |
) |
|
Set the flags.
- Parameters:
-
void ns3::Icmpv6OptionPrefixInformation::SetPreferredTime |
( |
uint32_t |
preferredTime |
) |
|
Set the preferred time of the information.
- Parameters:
-
| preferredTime | preferred time |
void ns3::Icmpv6OptionPrefixInformation::SetPrefix |
( |
Ipv6Address |
prefix |
) |
|
Set the IPv6 prefix.
- Parameters:
-
void ns3::Icmpv6OptionPrefixInformation::SetPrefixLength |
( |
uint8_t |
prefixLength |
) |
|
Set the prefix length.
- Parameters:
-
| prefixLength | the prefix length |
void ns3::Icmpv6OptionPrefixInformation::SetReserved |
( |
uint32_t |
reserved |
) |
|
Set the reserved field (normally it will be 0x00000000).
- Parameters:
-
void ns3::Icmpv6OptionPrefixInformation::SetValidTime |
( |
uint32_t |
validTime |
) |
|
Set the valid time of the information.
- Parameters:
-
The documentation for this class was generated from the following files:
- src/internet-stack/icmpv6-header.h
- doc/introspected-doxygen.h