Public Member Functions

ns3::Ping6Helper Class Reference

Ping6 application helper. More...

#include <ping6-helper.h>

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

List of all members.

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.

Detailed Description

Ping6 application helper.


Member Function Documentation

ApplicationContainer ns3::Ping6Helper::Install ( NodeContainer  c  ) 

Install the application in Nodes.

Parameters:
c list of Nodes
Returns:
application container
void ns3::Ping6Helper::SetAttribute ( std::string  name,
const AttributeValue value 
)

Set some attributes.

Parameters:
name attribute name
value attribute value
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.

Parameters:
ifIndex interface index
void ns3::Ping6Helper::SetLocal ( Ipv6Address  ip  ) 

Set the local IPv6 address.

Parameters:
ip local IPv6 address
void ns3::Ping6Helper::SetRemote ( Ipv6Address  ip  ) 

Set the remote IPv6 address.

Parameters:
ip remote IPv6 address
void ns3::Ping6Helper::SetRoutersAddress ( std::vector< Ipv6Address routers  ) 

Set routers addresses for routing type 0.

Parameters:
routers routers addresses

The documentation for this class was generated from the following file: