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 first::address, and ns3::Object::GetObject().
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::Object::GetObject(), ns3::Ipv6RoutingTableEntry::GetPrefixToUse(), and ns3::Ipv6StaticRoutingHelper::GetStaticRouting().