ns-3
|
IPv6 multicast route entry. More...
#include <ipv6-route.h>
Public Member Functions | |
Ipv6MulticastRoute () | |
Constructor. | |
virtual | ~Ipv6MulticastRoute () |
Destructor. | |
void | SetGroup (const Ipv6Address group) |
Set IPv6 group. | |
Ipv6Address | GetGroup (void) const |
Get IPv6 group. | |
void | SetOrigin (const Ipv6Address origin) |
Set origin address. | |
Ipv6Address | GetOrigin (void) const |
Get source address. | |
void | SetParent (uint32_t iif) |
Set parent for this route. | |
uint32_t | GetParent (void) const |
Get parent for this route. | |
void | SetOutputTtl (uint32_t oif, uint32_t ttl) |
set output TTL for this route. | |
uint32_t | GetOutputTtl (uint32_t oif) NS_DEPRECATED |
Get output TTL for this route. | |
std::map< uint32_t, uint32_t > | GetOutputTtlMap () const |
Static Public Attributes | |
static const uint32_t | MAX_INTERFACES = 16 |
Maximum number of multicast interfaces on a router. | |
static const uint32_t | MAX_TTL = 255 |
Maximum Time-To-Live (TTL). |
IPv6 multicast route entry.
Ipv6Address ns3::Ipv6MulticastRoute::GetGroup | ( | void | ) | const |
Get IPv6 group.
Ipv6Address ns3::Ipv6MulticastRoute::GetOrigin | ( | void | ) | const |
Get source address.
uint32_t ns3::Ipv6MulticastRoute::GetOutputTtl | ( | uint32_t | oif | ) |
Get output TTL for this route.
oif | outgoing interface |
References MAX_TTL.
std::map< uint32_t, uint32_t > ns3::Ipv6MulticastRoute::GetOutputTtlMap | ( | ) | const |
uint32_t ns3::Ipv6MulticastRoute::GetParent | ( | void | ) | const |
Get parent for this route.
void ns3::Ipv6MulticastRoute::SetGroup | ( | const Ipv6Address | group | ) |
Set IPv6 group.
group | Ipv6Address of the multicast group |
void ns3::Ipv6MulticastRoute::SetOrigin | ( | const Ipv6Address | origin | ) |
Set origin address.
origin | Ipv6Address of the origin address |
void ns3::Ipv6MulticastRoute::SetOutputTtl | ( | uint32_t | oif, |
uint32_t | ttl | ||
) |
set output TTL for this route.
oif | Outgoing interface index |
ttl | time-to-live for this route |
References MAX_TTL.
void ns3::Ipv6MulticastRoute::SetParent | ( | uint32_t | iif | ) |
Set parent for this route.
iif | Parent (input interface) for this route |