|
ns-3
|
A record of an IPv6 multicast route. More...
#include <ipv6-routing-table-entry.h>
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. | |
A record of an IPv6 multicast route.
| ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry | ( | Ipv6MulticastRoutingTableEntry const & | route | ) |
Copy constructor.
| route | the route to copy |
| ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry | ( | Ipv6MulticastRoutingTableEntry const * | route | ) |
Copy constructor.
| route | the route to copy |
| Ipv6MulticastRoutingTableEntry ns3::Ipv6MulticastRoutingTableEntry::CreateMulticastRoute | ( | Ipv6Address | origin, |
| Ipv6Address | group, | ||
| uint32_t | inputInterface, | ||
| std::vector< uint32_t > | outputInterfaces | ||
| ) | [static] |
Create a multicast route.
| origin | IPv6 address of the origin source |
| group | Ipv6Address of the group |
| inputInterface | interface number |
| outputInterfaces | list of output interface number |
References Ipv6MulticastRoutingTableEntry().
Referenced by ns3::Ipv6StaticRouting::AddMulticastRoute().
| Ipv6Address ns3::Ipv6MulticastRoutingTableEntry::GetGroup | ( | void | ) | const |
Get the group.
Referenced by ns3::Ipv6StaticRouting::RemoveMulticastRoute().
| uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetInputInterface | ( | void | ) | const |
Get the input interface address.
Referenced by ns3::Ipv6StaticRouting::RemoveMulticastRoute().
| uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetNOutputInterfaces | ( | void | ) | const |
Get the number of output interfaces of this route.
| Ipv6Address ns3::Ipv6MulticastRoutingTableEntry::GetOrigin | ( | void | ) | const |
Get the source of this route.
Referenced by ns3::Ipv6StaticRouting::RemoveMulticastRoute().
| uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterface | ( | uint32_t | n | ) | const |
Get a specified output interface.
| n | index |
References NS_ASSERT_MSG.
| std::vector< uint32_t > ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterfaces | ( | void | ) | const |
Get all of the output interfaces of this route.