ns-3
ns3::Ipv4MulticastRoutingTableEntry Class Reference

A record of an IPv4 multicast route for Ipv4GlobalRouting and Ipv4StaticRouting. More...

#include <ipv4-routing-table-entry.h>

List of all members.

Public Member Functions

 Ipv4MulticastRoutingTableEntry ()
 This constructor does nothing.
 Ipv4MulticastRoutingTableEntry (Ipv4MulticastRoutingTableEntry const &route)
 Copy Constructor.
 Ipv4MulticastRoutingTableEntry (Ipv4MulticastRoutingTableEntry const *route)
 Copy Constructor.
Ipv4Address GetOrigin (void) const
Ipv4Address GetGroup (void) const
uint32_t GetInputInterface (void) const
uint32_t GetNOutputInterfaces (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)

Detailed Description

A record of an IPv4 multicast route for Ipv4GlobalRouting and Ipv4StaticRouting.


Constructor & Destructor Documentation

Copy Constructor.

Parameters:
routeThe route to copy

Copy Constructor.

Parameters:
routeThe route to copy

Member Function Documentation

Ipv4MulticastRoutingTableEntry ns3::Ipv4MulticastRoutingTableEntry::CreateMulticastRoute ( Ipv4Address  origin,
Ipv4Address  group,
uint32_t  inputInterface,
std::vector< uint32_t >  outputInterfaces 
) [static]
Returns:
Ipv4MulticastRoutingTableEntry corresponding to the input parameters.
Parameters:
originSource address for the multicast route
groupGroup destination address for the multicast route
inputInterfaceInput interface that multicast datagram must be received on
outputInterfacesvector of output interfaces to copy and forward the datagram to

References Ipv4MulticastRoutingTableEntry().

Referenced by ns3::Ipv4StaticRouting::AddMulticastRoute().

Returns:
The IPv4 address of the multicast group of this route

Referenced by ns3::Ipv4StaticRouting::RemoveMulticastRoute().

Returns:
The IPv4 address of the input interface of this route

Referenced by ns3::Ipv4StaticRouting::RemoveMulticastRoute().

Returns:
The number of output interfaces of this route
Returns:
The IPv4 address of the source of this route

Referenced by ns3::Ipv4StaticRouting::RemoveMulticastRoute().

Parameters:
ninterface index
Returns:
A specified output interface.

References NS_ASSERT_MSG.

std::vector< uint32_t > ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterfaces ( void  ) const
Returns:
A vector of all of the output interfaces of this route.

The documentation for this class was generated from the following files: