Ipv4 multicast route cache entry (similar to Linux struct mfc_cache) More...
#include <ipv4-route.h>
Public Member Functions | |
Ipv4MulticastRoute () | |
Ipv4Address | GetGroup (void) const |
Ipv4Address | GetOrigin (void) const |
uint32_t | GetOutputTtl (uint32_t oif) NS_DEPRECATED |
std::map< uint32_t, uint32_t > | GetOutputTtlMap () const |
uint32_t | GetParent (void) const |
void | SetGroup (const Ipv4Address group) |
void | SetOrigin (const Ipv4Address origin) |
void | SetOutputTtl (uint32_t oif, uint32_t ttl) |
void | SetParent (uint32_t iif) |
![]() | |
SimpleRefCount () | |
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 |
static const uint32_t | MAX_TTL = 255 |
Private Attributes | |
Ipv4Address | m_group |
Ipv4Address | m_origin |
uint32_t | m_parent |
std::map< uint32_t, uint32_t > | m_ttls |
Additional Inherited Members | |
![]() | |
static void | Cleanup (void) |
Ipv4 multicast route cache entry (similar to Linux struct mfc_cache)
Definition at line 108 of file ipv4-route.h.
ns3::Ipv4MulticastRoute::Ipv4MulticastRoute | ( | ) |
Definition at line 84 of file ipv4-route.cc.
References m_ttls.
Ipv4Address ns3::Ipv4MulticastRoute::GetGroup | ( | void | ) | const |
Definition at line 96 of file ipv4-route.cc.
References m_group.
Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin | ( | void | ) | const |
Definition at line 108 of file ipv4-route.cc.
References m_origin.
uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl | ( | uint32_t | oif | ) |
oif | outgoing interface |
Definition at line 145 of file ipv4-route.cc.
std::map< uint32_t, uint32_t > ns3::Ipv4MulticastRoute::GetOutputTtlMap | ( | ) | const |
Definition at line 155 of file ipv4-route.cc.
References m_ttls.
uint32_t ns3::Ipv4MulticastRoute::GetParent | ( | void | ) | const |
Definition at line 120 of file ipv4-route.cc.
References m_parent.
void ns3::Ipv4MulticastRoute::SetGroup | ( | const Ipv4Address | group | ) |
group | Ipv4Address of the multicast group |
Definition at line 90 of file ipv4-route.cc.
References visualizer.higcontainer::group, and m_group.
void ns3::Ipv4MulticastRoute::SetOrigin | ( | const Ipv4Address | origin | ) |
origin | Ipv4Address of the origin address |
Definition at line 102 of file ipv4-route.cc.
References m_origin.
void ns3::Ipv4MulticastRoute::SetOutputTtl | ( | uint32_t | oif, |
uint32_t | ttl | ||
) |
oif | Outgoing interface index |
ttl | time-to-live for this route |
Definition at line 126 of file ipv4-route.cc.
void ns3::Ipv4MulticastRoute::SetParent | ( | uint32_t | iif | ) |
iif | Parent (input interface) for this route |
Definition at line 114 of file ipv4-route.cc.
References m_parent.
|
private |
Definition at line 160 of file ipv4-route.h.
Referenced by GetGroup(), and SetGroup().
|
private |
Definition at line 161 of file ipv4-route.h.
Referenced by GetOrigin(), and SetOrigin().
|
private |
Definition at line 162 of file ipv4-route.h.
Referenced by GetParent(), and SetParent().
|
private |
Definition at line 163 of file ipv4-route.h.
Referenced by GetOutputTtl(), GetOutputTtlMap(), Ipv4MulticastRoute(), and SetOutputTtl().
|
static |
Definition at line 156 of file ipv4-route.h.
|
static |
Definition at line 157 of file ipv4-route.h.
Referenced by GetOutputTtl(), ns3::Ipv4StaticRouting::LookupStatic(), and SetOutputTtl().