A record of an IPv4 multicast route for Ipv4GlobalRouting and Ipv4StaticRouting. More...
#include <ipv4-routing-table-entry.h>
Public Member Functions | |
| Ipv4MulticastRoutingTableEntry () | |
| This constructor does nothing. | |
| Ipv4MulticastRoutingTableEntry (Ipv4MulticastRoutingTableEntry const &route) | |
| Copy Constructor. More... | |
| Ipv4MulticastRoutingTableEntry (Ipv4MulticastRoutingTableEntry const *route) | |
| Copy Constructor. More... | |
| Ipv4Address | GetGroup (void) const |
| uint32_t | GetInputInterface (void) const |
| uint32_t | GetNOutputInterfaces (void) const |
| Ipv4Address | GetOrigin (void) const |
| uint32_t | GetOutputInterface (uint32_t n) const |
| std::vector< uint32_t > | GetOutputInterfaces (void) const |
Static Public Member Functions | |
| static Ipv4MulticastRoutingTableEntry | CreateMulticastRoute (Ipv4Address origin, Ipv4Address group, uint32_t inputInterface, std::vector< uint32_t > outputInterfaces) |
Private Member Functions | |
| Ipv4MulticastRoutingTableEntry (Ipv4Address origin, Ipv4Address group, uint32_t inputInterface, std::vector< uint32_t > outputInterfaces) | |
Private Attributes | |
| Ipv4Address | m_group |
| uint32_t | m_inputInterface |
| Ipv4Address | m_origin |
| std::vector< uint32_t > | m_outputInterfaces |
A record of an IPv4 multicast route for Ipv4GlobalRouting and Ipv4StaticRouting.
Definition at line 164 of file ipv4-routing-table-entry.h.
| ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry | ( | Ipv4MulticastRoutingTableEntry const & | route | ) |
Copy Constructor.
| route | The route to copy |
Definition at line 267 of file ipv4-routing-table-entry.cc.
References NS_LOG_FUNCTION.
| ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry | ( | Ipv4MulticastRoutingTableEntry const * | route | ) |
Copy Constructor.
| route | The route to copy |
Definition at line 277 of file ipv4-routing-table-entry.cc.
References NS_LOG_FUNCTION.
|
static |
| origin | Source address for the multicast route |
| group | Group destination address for the multicast route |
| inputInterface | Input interface that multicast datagram must be received on |
| outputInterfaces | vector of output interfaces to copy and forward the datagram to |
Definition at line 346 of file ipv4-routing-table-entry.cc.
References Ipv4MulticastRoutingTableEntry(), and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::Ipv4StaticRouting::AddMulticastRoute().
| Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetGroup | ( | void | ) | const |
Definition at line 308 of file ipv4-routing-table-entry.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::Ipv4StaticRouting::RemoveMulticastRoute().
| uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetInputInterface | ( | void | ) | const |
Definition at line 315 of file ipv4-routing-table-entry.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::Ipv4StaticRouting::RemoveMulticastRoute().
| uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetNOutputInterfaces | ( | void | ) | const |
Definition at line 322 of file ipv4-routing-table-entry.cc.
References NS_LOG_FUNCTION.
| Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetOrigin | ( | void | ) | const |
Definition at line 301 of file ipv4-routing-table-entry.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::Ipv4StaticRouting::RemoveMulticastRoute().
| uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterface | ( | uint32_t | n | ) | const |
| n | interface index |
Definition at line 329 of file ipv4-routing-table-entry.cc.
References NS_ASSERT_MSG, and NS_LOG_FUNCTION.
| std::vector< uint32_t > ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterfaces | ( | void | ) | const |
Definition at line 339 of file ipv4-routing-table-entry.cc.
References NS_LOG_FUNCTION.