#include <routedb.h>
Public Member Functions | |
void | addRoute (u_int dest, u_int size, int *rt) |
Add a route to the route data-base. | |
int * | getRoute (u_int dest) |
Get the route for the specified destination. | |
u_int | getRouteLength (u_int dest) |
Get the route length for the obtained route to the destination. | |
Routedb (u_int src) | |
Construct a new Routedb object. | |
Routedb () | |
Construct a new Routedb object. | |
void | setSrc (u_int src) |
Set the source node. | |
Protected Attributes | |
RouteMap | _rm |
Route map. | |
u_int | _src |
Source node. |
[dest, route-size, route]
|
Construct a new
Note in this case the src value is unitialized. Use the function |
|
Construct a new
|
|
Set the source node.
|
|
Add a route to the route data-base.
|
|
Get the route for the specified destination.
|
|
Get the route length for the obtained route to the destination.
|
|
Route map.
|
|
Source node.
|