|
| ||||||||||||||||
Storage for routing table entries indexed by advertising router.
| void clear_area (OspfTypes::AreaID area)
| clear_area |
Clear all entries for this area.
| bool add_entry (OspfTypes::AreaID area, uint32_t adv,
const RouteEntry<A>& rt)
| add_entry |
Add an entry for this routing entry keyed on advertising router
Parameters:
| area | to add entry. |
| adv | advertising router. |
| rt | associated routing entry. |
| bool replace_entry (OspfTypes::AreaID area, uint32_t adv,
const RouteEntry<A>& rt)
| replace_entry |
Replace entry with new entry keyed on advertising router.
Parameters:
| area | to add entry. |
| adv | advertising router. |
| rt | associated routing entry. |
| bool lookup_entry (OspfTypes::AreaID area, uint32_t adv,
RouteEntry<A>& rt)
| lookup_entry |
[const]
Lookup an entry by advertising router.
Parameters:
| area | to look in. |
| adv | router to look for. |
| rt | routing entry returned if entry is found. |
Returns: true if entry is found