ns-3
|
Ipv4 multicast route cache entry (similar to Linux struct mfc_cache) More...
#include <ipv4-route.h>
Public Member Functions | |
void | SetGroup (const Ipv4Address group) |
Ipv4Address | GetGroup (void) const |
void | SetOrigin (const Ipv4Address origin) |
Ipv4Address | GetOrigin (void) const |
void | SetParent (uint32_t iif) |
uint32_t | GetParent (void) const |
void | SetOutputTtl (uint32_t oif, uint32_t ttl) |
uint32_t | GetOutputTtl (uint32_t oif) NS_DEPRECATED |
std::map< uint32_t, uint32_t > | GetOutputTtlMap () const |
Static Public Attributes | |
static const uint32_t | MAX_INTERFACES = 16 |
static const uint32_t | MAX_TTL = 255 |
Ipv4 multicast route cache entry (similar to Linux struct mfc_cache)
Ipv4Address ns3::Ipv4MulticastRoute::GetGroup | ( | void | ) | const |
Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin | ( | void | ) | const |
uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl | ( | uint32_t | oif | ) |
oif | outgoing interface |
std::map< uint32_t, uint32_t > ns3::Ipv4MulticastRoute::GetOutputTtlMap | ( | ) | const |
uint32_t ns3::Ipv4MulticastRoute::GetParent | ( | void | ) | const |
void ns3::Ipv4MulticastRoute::SetGroup | ( | const Ipv4Address | group | ) |
group | Ipv4Address of the multicast group |
void ns3::Ipv4MulticastRoute::SetOrigin | ( | const Ipv4Address | origin | ) |
origin | Ipv4Address of the origin address |
void ns3::Ipv4MulticastRoute::SetOutputTtl | ( | uint32_t | oif, |
uint32_t | ttl | ||
) |
oif | Outgoing interface index |
ttl | time-to-live for this route |
void ns3::Ipv4MulticastRoute::SetParent | ( | uint32_t | iif | ) |
iif | Parent (input interface) for this route |