OpenSDN source code
|
#include <path_resolver.h>
Classes | |
class | DeleteActor |
Public Member Functions | |
PathResolver (BgpTable *table) | |
~PathResolver () | |
void | StartPathResolution (BgpRoute *route, const BgpPath *path, BgpTable *nh_table=NULL) |
void | StopPathResolution (int part_id, const BgpPath *path) |
ResolverRouteState * | FindResolverRouteState (BgpRoute *route) |
ResolverRouteState * | LocateResolverRouteState (BgpRoute *route) |
BgpTable * | table () |
Address::Family | family () const |
DBTableBase::ListenerId | listener_id () const |
BgpConditionListener * | get_condition_listener (Address::Family family) |
bool | IsDeleted () const |
void | ManagedDelete () |
bool | MayDelete () const |
void | RetryDelete () |
bool | nexthop_longest_match () const |
void | set_nexthop_longest_match (bool flag) |
void | FillShowInfo (ShowPathResolver *spr, bool summary) const |
Static Public Member Functions | |
static bool | RoutePrefixMatch (const BgpRoute *route, const IpAddress &address) |
Private Types | |
typedef std::pair< IpAddress, BgpTable * > | ResolverNexthopKey |
typedef std::map < ResolverNexthopKey, ResolverNexthop * > | ResolverNexthopMap |
typedef std::set < ResolverNexthop * > | ResolverNexthopList |
Private Attributes | |
BgpTable * | table_ |
DBTableBase::ListenerId | listener_id_ |
bool | nexthop_longest_match_ |
tbb::mutex | mutex_ |
ResolverNexthopMap | nexthop_map_ |
ResolverNexthopList | nexthop_reg_unreg_list_ |
boost::scoped_ptr< TaskTrigger > | nexthop_reg_unreg_trigger_ |
ResolverNexthopList | nexthop_update_list_ |
boost::scoped_ptr< TaskTrigger > | nexthop_update_trigger_ |
ResolverNexthopList | nexthop_delete_list_ |
std::vector < PathResolverPartition * > | partitions_ |
boost::scoped_ptr< DeleteActor > | deleter_ |
LifetimeRef< PathResolver > | table_delete_ref_ |
Friends | |
class | PathResolverPartition |
class | ResolverNexthop |
template<typename U > | |
class | PathResolverTest |
Definition at line 93 of file path_resolver.h.
|
private |
Definition at line 125 of file path_resolver.h.
|
private |
Definition at line 128 of file path_resolver.h.
|
private |
Definition at line 127 of file path_resolver.h.
|
explicit |
PathResolver::~PathResolver | ( | ) |
|
private |
Definition at line 469 of file path_resolver.cc.
|
private |
Definition at line 494 of file path_resolver.cc.
|
private |
|
private |
|
private |
Definition at line 477 of file path_resolver.cc.
|
private |
Definition at line 502 of file path_resolver.cc.
|
private |
Address::Family PathResolver::family | ( | ) | const |
void PathResolver::FillShowInfo | ( | ShowPathResolver * | spr, |
bool | summary | ||
) | const |
ResolverRouteState * PathResolver::FindResolverRouteState | ( | BgpRoute * | route | ) |
BgpConditionListener * PathResolver::get_condition_listener | ( | Address::Family | family | ) |
|
private |
Definition at line 207 of file path_resolver.cc.
|
private |
Definition at line 211 of file path_resolver.cc.
|
private |
Definition at line 460 of file path_resolver.cc.
|
private |
Definition at line 451 of file path_resolver.cc.
|
private |
Definition at line 485 of file path_resolver.cc.
|
private |
Definition at line 510 of file path_resolver.cc.
|
private |
bool PathResolver::IsDeleted | ( | ) | const |
Definition at line 405 of file path_resolver.cc.
|
inline |
Definition at line 107 of file path_resolver.h.
|
private |
Definition at line 246 of file path_resolver.cc.
ResolverRouteState * PathResolver::LocateResolverRouteState | ( | BgpRoute * | route | ) |
void PathResolver::ManagedDelete | ( | ) |
Definition at line 412 of file path_resolver.cc.
bool PathResolver::MayDelete | ( | ) | const |
Definition at line 419 of file path_resolver.cc.
|
inline |
Definition at line 113 of file path_resolver.h.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 187 of file path_resolver.cc.
|
private |
|
private |
void PathResolver::RetryDelete | ( | ) |
Definition at line 433 of file path_resolver.cc.
|
private |
Definition at line 443 of file path_resolver.cc.
|
inline |
Definition at line 114 of file path_resolver.h.
void PathResolver::StopPathResolution | ( | int | part_id, |
const BgpPath * | path | ||
) |
Definition at line 164 of file path_resolver.cc.
|
inline |
Definition at line 105 of file path_resolver.h.
|
private |
|
private |
Definition at line 198 of file path_resolver.cc.
|
friend |
Definition at line 121 of file path_resolver.h.
|
friend |
Definition at line 123 of file path_resolver.h.
|
friend |
Definition at line 122 of file path_resolver.h.
|
private |
Definition at line 174 of file path_resolver.h.
|
private |
Definition at line 163 of file path_resolver.h.
|
mutableprivate |
Definition at line 165 of file path_resolver.h.
|
private |
Definition at line 171 of file path_resolver.h.
|
private |
Definition at line 164 of file path_resolver.h.
|
private |
Definition at line 166 of file path_resolver.h.
|
private |
Definition at line 167 of file path_resolver.h.
|
private |
Definition at line 168 of file path_resolver.h.
|
private |
Definition at line 169 of file path_resolver.h.
|
private |
Definition at line 170 of file path_resolver.h.
|
private |
Definition at line 172 of file path_resolver.h.
|
private |
Definition at line 162 of file path_resolver.h.
|
private |
Definition at line 175 of file path_resolver.h.