class RibInTable
|
Specialized BGPRouteTable that stores routes from a BGP peer.
More... |
|
|
Public Methods
The XORP BGP is internally implemented as a set of pipelines
consisting of a series of BGPRouteTables. Each pipeline receives
routes from a BGP peer, stores them, and applies filters to them to
modify the routes. Then the pipelines converge on a single
decision process, which decides which route wins amongst possible
alternative routes. After decision, the winning routes fanout
again along a set of pipelines, again being filtered, before being
transmitted to peers.
RibInTable is the first stage in such a pipeline. It receives
routes from a single BGP peer, and stores them. Changes are passed
down the pipeline as they occur, and route lookups from downstream
are answered by the RibInTable.
RibInTable (string tablename, Safi safi, const PeerHandler *peer)
| RibInTable |
~RibInTable ()
| ~RibInTable |
Remove all the stored routes. Used to flush static routes only.
Reimplemented from BGPRouteTable.
void ribin_peering_went_down ()
| ribin_peering_went_down |
void ribin_peering_came_up ()
| ribin_peering_came_up |
Reimplemented from BGPRouteTable.
Reimplemented from BGPRouteTable.
Reimplemented from BGPRouteTable.
int delete_add_routes ()
| delete_add_routes |
const SubnetRoute<A> * lookup_route (const IPNet<A> &net,
uint32_t& genid)
| lookup_route |
[const]
Reimplemented from BGPRouteTable.
void route_used (const SubnetRoute<A>* route, bool in_use)
| route_used |
Reimplemented from BGPRouteTable.
Reimplemented from BGPRouteTable.
[const]
Reimplemented from BGPRouteTable.
[const]
Reimplemented from BGPRouteTable.
Reimplemented from BGPRouteTable.
Reimplemented from BGPRouteTable.
void set_peer_is_up ()
| set_peer_is_up |
bool dump_next_route (DumpIterator<A>& dump_iter)
| dump_next_route |
Reimplemented from BGPRouteTable.
void igp_nexthop_changed (const A& bgp_nexthop)
| igp_nexthop_changed |
Reimplemented from BGPRouteTable.
int route_count ()
| route_count |
[const]
[const]
[const]
[const]
Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:33 2004, using kdoc $.