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... | |
Helper to set or get some IPv6 information about nodes.
Definition at line 48 of file simple-routing-ping6.cc.
|
inline |
Add an address to a IPv6 node.
n | node |
interface | interface index |
address | IPv6 address to add |
Definition at line 58 of file simple-routing-ping6.cc.
References ns3::Ipv6::AddAddress(), first::address, and sample-rng-plot::n.
Print the routing table.
n | the node |
Definition at line 68 of file simple-routing-ping6.cc.
References ns3::Ipv6RoutingTableEntry::GetDest(), ns3::Ipv6RoutingTableEntry::GetGateway(), ns3::Ipv6RoutingTableEntry::GetInterface(), ns3::Ipv6StaticRouting::GetNRoutes(), ns3::Ipv6RoutingTableEntry::GetPrefixToUse(), ns3::Ipv6StaticRouting::GetRoute(), ns3::Ipv6StaticRoutingHelper::GetStaticRouting(), and sample-rng-plot::n.