next up previous contents index
Next: 6.3 Global Routing Implementation Up: 6. ns-3 routing Previous: 6.1 Overview   Contents   Index


6.2 Global Unicast Routing API

The public API is very minimal. User scripts include the following:

#include "ns3/global-route-manager.h"

After IP addresses are configured, the following function call will cause all of the nodes that have an Ipv4 interface to receive forwarding tables entered automatically by the GlobalRouteManager:

  GlobalRouteManager::PopulateRoutingTables ();



2007-10-16