IPv6 multicast route entry. More...
#include <ipv6-route.h>
Inheritance diagram for ns3::Ipv6MulticastRoute:Public Member Functions | |
| Ipv6MulticastRoute () | |
| Constructor. | |
| virtual | ~Ipv6MulticastRoute () |
| Destructor. | |
| Ipv6Address | GetGroup (void) const |
| Get IPv6 group. More... | |
| Ipv6Address | GetOrigin (void) const |
| Get source address. More... | |
| uint32_t | GetOutputTtl (uint32_t oif) NS_DEPRECATED |
| Get output TTL for this route. More... | |
| std::map< uint32_t, uint32_t > | GetOutputTtlMap () const |
| uint32_t | GetParent (void) const |
| Get parent for this route. More... | |
| void | SetGroup (const Ipv6Address group) |
| Set IPv6 group. More... | |
| void | SetOrigin (const Ipv6Address origin) |
| Set origin address. More... | |
| void | SetOutputTtl (uint32_t oif, uint32_t ttl) |
| set output TTL for this route. More... | |
| void | SetParent (uint32_t iif) |
| Set parent for this route. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Ipv6MulticastRoute > | |
| SimpleRefCount (const SimpleRefCount &o) | |
| uint32_t | GetReferenceCount (void) const |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| void | Ref (void) const |
| void | Unref (void) 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). | |
Private Attributes | |
| Ipv6Address | m_group |
| IPv6 group. | |
| Ipv6Address | m_origin |
| IPv6 origin (source). | |
| uint32_t | m_parent |
| Source interface. | |
| std::map< uint32_t, uint32_t > | m_ttls |
| TTLs. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::SimpleRefCount< Ipv6MulticastRoute > | |
| static void | Cleanup (void) |
IPv6 multicast route entry.
Definition at line 133 of file ipv6-route.h.
| Ipv6Address ns3::Ipv6MulticastRoute::GetGroup | ( | void | ) | const |
Get IPv6 group.
Definition at line 97 of file ipv6-route.cc.
References m_group.
| Ipv6Address ns3::Ipv6MulticastRoute::GetOrigin | ( | void | ) | const |
Get source address.
Definition at line 107 of file ipv6-route.cc.
References m_origin.
| uint32_t ns3::Ipv6MulticastRoute::GetOutputTtl | ( | uint32_t | oif | ) |
Get output TTL for this route.
| oif | outgoing interface |
Definition at line 140 of file ipv6-route.cc.
| std::map< uint32_t, uint32_t > ns3::Ipv6MulticastRoute::GetOutputTtlMap | ( | ) | const |
Definition at line 149 of file ipv6-route.cc.
References m_ttls.
| uint32_t ns3::Ipv6MulticastRoute::GetParent | ( | void | ) | const |
Get parent for this route.
Definition at line 117 of file ipv6-route.cc.
References m_parent.
| void ns3::Ipv6MulticastRoute::SetGroup | ( | const Ipv6Address | group | ) |
Set IPv6 group.
| group | Ipv6Address of the multicast group |
Definition at line 92 of file ipv6-route.cc.
References m_group.
| void ns3::Ipv6MulticastRoute::SetOrigin | ( | const Ipv6Address | origin | ) |
Set origin address.
| origin | Ipv6Address of the origin address |
Definition at line 102 of file ipv6-route.cc.
References m_origin.
| 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 |
Definition at line 122 of file ipv6-route.cc.
| void ns3::Ipv6MulticastRoute::SetParent | ( | uint32_t | iif | ) |
Set parent for this route.
| iif | Parent (input interface) for this route |
Definition at line 112 of file ipv6-route.cc.
References m_parent.