ns-3
ns3::Ping6Helper Class Reference

Ping6 application helper. More...

#include <ping6-helper.h>

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

void ns3::Ping6Helper::SetAttribute ( std::string  name,
const AttributeValue value 
)

Set some attributes.

Parameters:
nameattribute name
valueattribute 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.

Parameters:
ifIndexinterface index

Set the local IPv6 address.

Parameters:
iplocal IPv6 address

Set the remote IPv6 address.

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

Set routers addresses for routing type 0.

Parameters:
routersrouters addresses

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