Public Member Functions | Private Attributes

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.

Private Attributes

ObjectFactory m_factory
 An object factory.
Ipv6Address m_localIp
 The local IPv6 address.
Ipv6Address m_remoteIp
 The remote IPv6 address.
uint32_t m_ifIndex
 Out interface index.

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

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