Helper class that adds ns3::Ipv6StaticRouting objects. More...
#include <ipv6-static-routing-helper.h>
Public Member Functions | |
Ipv6StaticRoutingHelper () | |
Constructor. | |
Ipv6StaticRoutingHelper (const Ipv6StaticRoutingHelper &) | |
Construct an Ipv6ListRoutingHelper from another previously initialized instance (Copy Constructor). | |
Ipv6StaticRoutingHelper * | Copy (void) const |
virtual constructor | |
virtual Ptr< Ipv6RoutingProtocol > | Create (Ptr< Node > node) const |
Ptr< Ipv6StaticRouting > | GetStaticRouting (Ptr< Ipv6 > ipv6) const |
Get Ipv6StaticRouting pointer from IPv6 stack. | |
void | AddMulticastRoute (Ptr< Node > n, Ipv6Address source, Ipv6Address group, Ptr< NetDevice > input, NetDeviceContainer output) |
Add a multicast route to a node and net device using explicit Ptr<Node> and Ptr<NetDevice>. | |
void | AddMulticastRoute (std::string n, Ipv6Address source, Ipv6Address group, Ptr< NetDevice > input, NetDeviceContainer output) |
Add a multicast route to a node and device using a name string previously associated to the node using the Object Name Service and a Ptr<NetDevice>. | |
void | AddMulticastRoute (Ptr< Node > n, Ipv6Address source, Ipv6Address group, std::string inputName, NetDeviceContainer output) |
Add a multicast route to a node and device using a Ptr<Node> and a name string previously associated to the device using the Object Name Service. | |
void | AddMulticastRoute (std::string nName, Ipv6Address source, Ipv6Address group, std::string inputName, NetDeviceContainer output) |
Add a multicast route to a node and device using name strings previously associated to both the node and device using the Object Name Service. |
Helper class that adds ns3::Ipv6StaticRouting objects.
This class is expected to be used in conjunction with ns3::InternetStackHelper::SetRoutingHelper
Ipv6StaticRoutingHelper* ns3::Ipv6StaticRoutingHelper::Copy | ( | void | ) | const [virtual] |
virtual constructor
This method is mainly for internal use by the other helpers; clients are expected to free the dynamic memory allocated by this method
Implements ns3::Ipv6RoutingHelper.
virtual Ptr<Ipv6RoutingProtocol> ns3::Ipv6StaticRoutingHelper::Create | ( | Ptr< Node > | node | ) | const [virtual] |
node | the node on which the routing protocol will run |
This method will be called by ns3::InternetStackHelper::Install
Implements ns3::Ipv6RoutingHelper.
Ptr<Ipv6StaticRouting> ns3::Ipv6StaticRoutingHelper::GetStaticRouting | ( | Ptr< Ipv6 > | ipv6 | ) | const |
Get Ipv6StaticRouting pointer from IPv6 stack.
ipv6 | Ipv6 pointer |