|
OpenSDN source code
|
#include <path_resolver.h>


Classes | |
| struct | ResolverRouteCompare |
Public Member Functions | |
| ResolverNexthop (PathResolver *resolver, IpAddress address, BgpTable *table) | |
| virtual | ~ResolverNexthop () |
| virtual std::string | ToString () const |
| virtual bool | Match (BgpServer *server, BgpTable *table, BgpRoute *route, bool deleted) |
| void | AddResolverPath (int part_id, ResolverPath *rpath) |
| void | RemoveResolverPath (int part_id, ResolverPath *rpath) |
| ResolverRouteState * | GetResolverRouteState () |
| void | TriggerAllResolverPaths () const |
| void | ManagedDelete () |
| IpAddress | address () const |
| BgpTable * | table () const |
| bool | InsertRoute (BgpRoute *route) |
| bool | RemoveRoute (BgpRoute *route) |
| const BgpRoute * | GetRoute () const |
| BgpRoute * | GetRoute () |
| bool | empty () const |
| bool | registered () const |
| void | set_registered () |
Public Member Functions inherited from ConditionMatch | |
| ConditionMatch () | |
| virtual | ~ConditionMatch () |
| bool | deleted () const |
| void | IncrementNumMatchstate () |
| void | DecrementNumMatchstate () |
| uint32_t | num_matchstate () const |
Protected Types | |
| typedef std::set< BgpRoute *, ResolverRouteCompare > | ResolverRouteSet |
Protected Attributes | |
| ResolverRouteSet | routes_ |
Private Types | |
| typedef std::set< ResolverPath * > | ResolverPathList |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (ResolverNexthop) | |
Private Attributes | |
| PathResolver * | resolver_ |
| IpAddress | address_ |
| BgpTable * | table_ |
| bool | registered_ |
| tbb::mutex | routes_mutex_ |
| std::vector< ResolverPathList > | rpath_lists_ |
| LifetimeRef< ResolverNexthop > | table_delete_ref_ |
Definition at line 392 of file path_resolver.h.
|
private |
Definition at line 427 of file path_resolver.h.
|
protected |
Definition at line 422 of file path_resolver.h.
| ResolverNexthop::ResolverNexthop | ( | PathResolver * | resolver, |
| IpAddress | address, | ||
| BgpTable * | table | ||
| ) |
Definition at line 1183 of file path_resolver.cc.
|
virtual |
Definition at line 1197 of file path_resolver.cc.
| void ResolverNexthop::AddResolverPath | ( | int | part_id, |
| ResolverPath * | rpath | ||
| ) |
|
inline |
Definition at line 408 of file path_resolver.h.
|
private |
| bool ResolverNexthop::empty | ( | ) | const |
| ResolverRouteState * ResolverNexthop::GetResolverRouteState | ( | ) |
| BgpRoute * ResolverNexthop::GetRoute | ( | ) |
Definition at line 1395 of file path_resolver.cc.
| const BgpRoute * ResolverNexthop::GetRoute | ( | ) | const |
Definition at line 1390 of file path_resolver.cc.
| bool ResolverNexthop::InsertRoute | ( | BgpRoute * | route | ) |
Definition at line 1374 of file path_resolver.cc.
|
inline |
Definition at line 406 of file path_resolver.h.
|
virtual |
Implements ConditionMatch.
Definition at line 1211 of file path_resolver.cc.

|
inline |
Definition at line 415 of file path_resolver.h.
| void ResolverNexthop::RemoveResolverPath | ( | int | part_id, |
| ResolverPath * | rpath | ||
| ) |
| bool ResolverNexthop::RemoveRoute | ( | BgpRoute * | route | ) |
Definition at line 1383 of file path_resolver.cc.
|
inline |
Definition at line 416 of file path_resolver.h.
|
inline |
Definition at line 409 of file path_resolver.h.
|
virtual |
Implements ConditionMatch.
Definition at line 1204 of file path_resolver.cc.
| void ResolverNexthop::TriggerAllResolverPaths | ( | ) | const |
|
private |
Definition at line 430 of file path_resolver.h.
|
private |
Definition at line 432 of file path_resolver.h.
|
private |
Definition at line 429 of file path_resolver.h.
|
protected |
Definition at line 424 of file path_resolver.h.
|
mutableprivate |
Definition at line 433 of file path_resolver.h.
|
private |
Definition at line 434 of file path_resolver.h.
|
private |
Definition at line 431 of file path_resolver.h.
|
private |
Definition at line 435 of file path_resolver.h.