Public Member Functions | Static Public Member Functions

ns3::Ipv6MulticastRoutingTableEntry Class Reference

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

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

Collaboration diagram for ns3::Ipv6MulticastRoutingTableEntry:
Collaboration graph
[legend]

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

ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry ( Ipv6MulticastRoutingTableEntry const &  route  ) 

Copy constructor.

Parameters:
route the route to copy
ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry ( Ipv6MulticastRoutingTableEntry const *  route  ) 

Copy constructor.

Parameters:
route the route to copy

Member Function Documentation

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

Create a multicast route.

Parameters:
origin IPv6 address of the origin source
group Ipv6Address of the group
inputInterface interface number
outputInterfaces list of output interface number
Returns:
a multicast route
Ipv6Address ns3::Ipv6MulticastRoutingTableEntry::GetGroup (  )  const

Get the group.

Returns:
IPv6 address of the multicast group of this route
uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetInputInterface (  )  const

Get the input interface address.

Returns:
input interface index
uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetNOutputInterfaces (  )  const

Get the number of output interfaces of this route.

Returns:
number of output interfaces of this route.
Ipv6Address ns3::Ipv6MulticastRoutingTableEntry::GetOrigin (  )  const

Get the source of this route.

Returns:
IPv6 address of the source of this route
uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterface ( uint32_t  n  )  const

Get a specified output interface.

Parameters:
n index
Returns:
a specified output interface
std::vector<uint32_t> ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterfaces (  )  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 file: