|
|
Users of this class specify expected updates with expect_add and expect_delete. As the updates come through they are compared against those expect and generate an assertion failure if those arriving do not match those expected. An assertion failure will also occur if there are unmatched updates upon instance destruction.
This class is strictly for debugging and testing purposes.
LogTable (const string& tablename, RouteTable<A>* parent)
| LogTable |
~LogTable ()
| ~LogTable |
int add_route (const IPRouteEntry<A>& route, RouteTable<A>* caller)
| add_route |
Reimplemented from RouteTable.
int delete_route (const IPRouteEntry<A>* , RouteTable<A>* caller)
| delete_route |
Reimplemented from RouteTable.
const IPRouteEntry<A>* lookup_route (const IPNet<A>& net)
| lookup_route |
[const]
Reimplemented from RouteTable.
const IPRouteEntry<A>* lookup_route (const A& addr)
| lookup_route |
[const]
Reimplemented from RouteTable.
RouteRange<A>* lookup_route_range (const A& addr)
| lookup_route_range |
[const]
Reimplemented from RouteTable.
TableType type ()
| type |
[const]
Reimplemented from RouteTable.
RouteTable<A>* parent ()
| parent |
Reimplemented from RouteTable.
void replumb (RouteTable<A>* old_parent, RouteTable<A>* new_parent)
| replumb |
Reimplemented from RouteTable.
string str ()
| str |
[const]
Reimplemented from RouteTable.
uint32_t update_number ()
| update_number |
[const]