xorp

DummyNextHopResolver< A > Class Template Reference

Inheritance diagram for DummyNextHopResolver< A >:
NextHopResolver< A >

List of all members.

Public Member Functions

 DummyNextHopResolver (EventLoop &eventloop, BGPMain &bgp)
bool lookup (const A nexthop, bool &resolvable, uint32_t &metric) const
 lookup next hop.
void set_nexthop_metric (const A nexthop, uint32_t metric)
void unset_nexthop_metric (const A nexthop)

Private Attributes

DecisionTable< A > * _decision
map< A, uint32_t > _metrics

template<class A>
class DummyNextHopResolver< A >


Member Function Documentation

template<class A >
bool DummyNextHopResolver< A >::lookup ( const A  nexthop,
bool &  resolvable,
uint32_t &  metric 
) const [virtual]

lookup next hop.

Parameters:
nexthop.Next hop.
resolvable.Is this route resolvable.
metric.If this route is resolvable the metric of this route.
Returns:
True if this next hop is found.

Reimplemented from NextHopResolver< A >.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations