class RouteTable
|
Base class for a routing table.
More... |
|
|
Public Methods
Protected Members
This is the base class for a routing table. A RIB consists of a
tree of RouteTables that take routes from routing protocols and
merge them together so that routes that emerge from the last table
are the best routes available, and have nexthop information that is
for an immediate neighbor of this router. See the RIB design
document for an overview of how RouteTable are plumbed together to
form a RIB.
All RouteTables that form the RIB are derived from this base class.
RouteTables take routing changes in from one or more parents, and
pass on those changes to the _next_table if the change is for the
best of the alternative routes.
RouteTables take route lookup requests from their _next_table, and
pass on those requests to their parents. If more than one parent
has a response, only the best is returned as the answer.
RouteTable (const string& name)
| RouteTable |
~RouteTable ()
| ~RouteTable |
[virtual]
[pure virtual]
[pure virtual]
[const pure virtual]
const
IPRouteEntry<A> * lookup_route (const A& addr)
| lookup_route |
[const pure virtual]
RouteRange<A> * lookup_route_range (const A& addr)
| lookup_route_range |
[const pure virtual]
void set_next_table (RouteTable *next_table)
| set_next_table |
[virtual]
[const pure virtual]
const string& tablename ()
| tablename |
[const]
[pure virtual]
[const pure virtual]
[virtual]
string _tablename
| _tablename |
[protected]
[protected]
Generated by: pavlin on possum.icir.org on Thu Nov 6 23:47:07 2003, using kdoc 2.0a54+XORP. |