A Discrete-Event Network Simulator
API
StackHelper Class Reference

Helper to set or get some IPv6 information about nodes. More...

Public Member Functions

void AddAddress (Ptr< Node > &n, uint32_t interface, Ipv6Address address)
 Add an address to a IPv6 node. More...
 
void PrintRoutingTable (Ptr< Node > &n)
 Print the routing table. More...
 

Detailed Description

Helper to set or get some IPv6 information about nodes.

Definition at line 48 of file simple-routing-ping6.cc.

Member Function Documentation

◆ AddAddress()

void StackHelper::AddAddress ( Ptr< Node > &  n,
uint32_t  interface,
Ipv6Address  address 
)
inline

Add an address to a IPv6 node.

Parameters
nnode
interfaceinterface index
addressIPv6 address to add

Definition at line 58 of file simple-routing-ping6.cc.

References ns3::Ipv6::AddAddress(), first::address, and sample-rng-plot::n.

+ Here is the call graph for this function:

◆ PrintRoutingTable()


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