ns-3
ns3::Ipv6MulticastRoutingTableEntry Class Reference

A record of an IPv6 multicast route. More...

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

List of all members.

Public Member Functions

 Ipv6MulticastRoutingTableEntry ()
 Constructor.
 Ipv6MulticastRoutingTableEntry (Ipv6MulticastRoutingTableEntry const &route)
 Copy constructor.
 Ipv6MulticastRoutingTableEntry (Ipv6MulticastRoutingTableEntry const *route)
 Copy constructor.
Ipv6Address GetOrigin () const
 Get the source of this route.
Ipv6Address GetGroup () const
 Get the group.
uint32_t GetInputInterface () const
 Get the input interface address.
uint32_t GetNOutputInterfaces () const
 Get the number of output interfaces of this route.
uint32_t GetOutputInterface (uint32_t n) const
 Get a specified output interface.
std::vector< uint32_t > GetOutputInterfaces () const
 Get all of the output interfaces of this route.

Static Public Member Functions

static
Ipv6MulticastRoutingTableEntry 
CreateMulticastRoute (Ipv6Address origin, Ipv6Address group, uint32_t inputInterface, std::vector< uint32_t > outputInterfaces)
 Create a multicast route.

Detailed Description

A record of an IPv6 multicast route.


Constructor & Destructor Documentation

Copy constructor.

Parameters:
routethe route to copy

Copy constructor.

Parameters:
routethe route to copy

Member Function Documentation

Ipv6MulticastRoutingTableEntry ns3::Ipv6MulticastRoutingTableEntry::CreateMulticastRoute ( Ipv6Address  origin,
Ipv6Address  group,
uint32_t  inputInterface,
std::vector< uint32_t >  outputInterfaces 
) [static]

Create a multicast route.

Parameters:
originIPv6 address of the origin source
groupIpv6Address of the group
inputInterfaceinterface number
outputInterfaceslist of output interface number
Returns:
a multicast route

References Ipv6MulticastRoutingTableEntry().

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

Get the group.

Returns:
IPv6 address of the multicast group of this route

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

Get the input interface address.

Returns:
input interface index

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

Get the number of output interfaces of this route.

Returns:
number of output interfaces of this route.

Get the source of this route.

Returns:
IPv6 address of the source of this route

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

Get a specified output interface.

Parameters:
nindex
Returns:
a specified output interface

References NS_ASSERT_MSG.

std::vector< uint32_t > ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterfaces ( void  ) const

Get all of the output interfaces of this route.

Returns:
a vector of all output interfaces of this route

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