|
|
This table stores all routes it receives from the origin table. It then filters them modifying only policytags. It has the ability to push routes through the filter again, causing only policytags on routes to be updated [no route deletion / replacement].
static const string table_name | table_name |
PolicyConnectedTable (RouteTable<A>* parent, PolicyFilters& pfs)
| PolicyConnectedTable |
Parameters:
parent | parent table. |
pfs | the connected routes policy filters. |
~PolicyConnectedTable ()
| ~PolicyConnectedTable |
int add_route (const IPRouteEntry<A>& route, RouteTable<A>* caller)
| add_route |
Reimplemented from RouteTable.
int delete_route (const IPRouteEntry<A>* route, 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.
void push_routes ()
| push_routes |
Push all the routes through the filter again