A ping6 application. More...
#include <ping6.h>


Public Member Functions | |
| Ping6 () | |
| Constructor. | |
| virtual | ~Ping6 () |
| Destructor. | |
| void | SetLocal (Ipv6Address ipv6) |
| Set the local address. | |
| void | SetRemote (Ipv6Address ipv6) |
| Set the remote peer. | |
| 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 | SetRouters (std::vector< Ipv6Address > routers) |
| Set routers for routing type 0 (loose routing). | |
Static Public Member Functions | |
| static TypeId | GetTypeId () |
| Get the type ID. | |
Protected Member Functions | |
| virtual void | DoDispose () |
| Dispose this object;. | |
A ping6 application.
| static TypeId ns3::Ping6::GetTypeId | ( | void | ) | [static] |
Get the type ID.
This method returns the TypeId associated to ns3::Ping6.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
Attributes defined in parent class ns3::Application:
No TraceSources defined for this type.
Reimplemented from ns3::Application.
| void ns3::Ping6::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::Ping6::SetLocal | ( | Ipv6Address | ipv6 | ) |
Set the local address.
| ipv6 | the local IPv6 address |
| void ns3::Ping6::SetRemote | ( | Ipv6Address | ipv6 | ) |
Set the remote peer.
| ipv6 | IPv6 address of the peer |
| void ns3::Ping6::SetRouters | ( | std::vector< Ipv6Address > | routers | ) |
Set routers for routing type 0 (loose routing).
| routers | routers addresses |
1.7.1