|
ns-3
|
Ping6 application helper. More...
#include <ping6-helper.h>
Public Member Functions | |
| Ping6Helper () | |
| Constructor. | |
| void | SetLocal (Ipv6Address ip) |
| Set the local IPv6 address. | |
| void | SetRemote (Ipv6Address ip) |
| Set the remote IPv6 address. | |
| void | SetAttribute (std::string name, const AttributeValue &value) |
| Set some attributes. | |
| ApplicationContainer | Install (NodeContainer c) |
| Install the application in Nodes. | |
| void | SetIfIndex (uint32_t ifIndex) |
| Set the out interface index. This is to send to link-local (unicast or multicast) address when a node has multiple interfaces. | |
| void | SetRoutersAddress (std::vector< Ipv6Address > routers) |
| Set routers addresses for routing type 0. | |
Ping6 application helper.
Install the application in Nodes.
| c | list of Nodes |
References ns3::ApplicationContainer::Add(), ns3::Node::AddApplication(), ns3::NodeContainer::Begin(), ns3::ObjectFactory::Create(), and ns3::NodeContainer::End().
| void ns3::Ping6Helper::SetAttribute | ( | std::string | name, |
| const AttributeValue & | value | ||
| ) |
Set some attributes.
| name | attribute name |
| value | attribute value |
References ns3::ObjectFactory::Set().
| void ns3::Ping6Helper::SetIfIndex | ( | uint32_t | ifIndex | ) |
Set the out interface index. This is to send to link-local (unicast or multicast) address when a node has multiple interfaces.
| ifIndex | interface index |
| void ns3::Ping6Helper::SetLocal | ( | Ipv6Address | ip | ) |
Set the local IPv6 address.
| ip | local IPv6 address |
| void ns3::Ping6Helper::SetRemote | ( | Ipv6Address | ip | ) |
Set the remote IPv6 address.
| ip | remote IPv6 address |
| void ns3::Ping6Helper::SetRoutersAddress | ( | std::vector< Ipv6Address > | routers | ) |
Set routers addresses for routing type 0.
| routers | routers addresses |