A Discrete-Event Network Simulator
API
Public Member Functions | List of all members
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.

◆ PrintRoutingTable()

void StackHelper::PrintRoutingTable ( Ptr< Node > &  n)
inline

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