OpenSDN source code
|
#include <controller_route_walker.h>
Public Types | |
enum | Type { NOTIFYALL, NOTIFYMULTICAST, DELPEER, DELSTALE } |
![]() | |
typedef boost::function< void()> | WalkDone |
typedef boost::function< void(VrfEntry *)> | RouteWalkDoneCb |
typedef std::map< const VrfEntry *, tbb::atomic< int > > | VrfRouteWalkCountMap |
Private Member Functions | |
bool | VrfNotifyInternal (DBTablePartBase *partition, DBEntryBase *e) |
bool | VrfNotifyMulticast (DBTablePartBase *partition, DBEntryBase *e) |
bool | VrfNotifyAll (DBTablePartBase *partition, DBEntryBase *e) |
bool | VrfDelPeer (DBTablePartBase *partition, DBEntryBase *e) |
bool | VrfDelStale (DBTablePartBase *partition, DBEntryBase *e) |
bool | RouteNotifyInternal (DBTablePartBase *partition, DBEntryBase *e) |
bool | RouteNotifyAll (DBTablePartBase *partition, DBEntryBase *e) |
bool | RouteNotifyMulticast (DBTablePartBase *partition, DBEntryBase *e) |
bool | RouteDelPeer (DBTablePartBase *partition, DBEntryBase *e) |
bool | RouteDelStale (DBTablePartBase *partition, DBEntryBase *e) |
bool | IsDeleteWalk () const |
bool | IgnoreNotify () |
DISALLOW_COPY_AND_ASSIGN (ControllerRouteWalker) | |
Private Attributes | |
Peer * | peer_ |
bool | associate_ |
Type | type_ |
uint64_t | sequence_number_ |
Additional Inherited Members | |
![]() | |
static const int | kInvalidWalkCount = 0 |
![]() | |
AgentRouteWalker (const std::string &name, Agent *agent) | |
void | set_mgr (AgentRouteWalkerManager *mgr) |
Definition at line 21 of file controller_route_walker.h.
Enumerator | |
---|---|
NOTIFYALL | |
NOTIFYMULTICAST | |
DELPEER | |
DELSTALE |
Definition at line 23 of file controller_route_walker.h.
ControllerRouteWalker::ControllerRouteWalker | ( | const std::string & | name, |
Peer * | peer | ||
) |
Definition at line 24 of file controller_route_walker.cc.
|
inlinevirtual |
Definition at line 31 of file controller_route_walker.h.
|
private |
|
private |
Definition at line 356 of file controller_route_walker.cc.
|
private |
Definition at line 352 of file controller_route_walker.cc.
|
private |
Definition at line 281 of file controller_route_walker.cc.
|
private |
Definition at line 262 of file controller_route_walker.cc.
|
private |
Definition at line 246 of file controller_route_walker.cc.
|
private |
Definition at line 210 of file controller_route_walker.cc.
|
private |
Definition at line 254 of file controller_route_walker.cc.
void ControllerRouteWalker::RouteWalkDoneForVrf | ( | VrfEntry * | vrf | ) |
Definition at line 321 of file controller_route_walker.cc.
|
virtual |
Reimplemented from AgentRouteWalker.
Definition at line 193 of file controller_route_walker.cc.
|
inline |
Definition at line 41 of file controller_route_walker.h.
|
inline |
|
inline |
Definition at line 40 of file controller_route_walker.h.
void ControllerRouteWalker::Start | ( | Type | type, |
bool | associate, | ||
AgentRouteWalker::WalkDone | walk_done_cb | ||
) |
Definition at line 336 of file controller_route_walker.cc.
Definition at line 345 of file controller_route_walker.cc.
|
private |
|
private |
Definition at line 132 of file controller_route_walker.cc.
|
private |
|
private |
Definition at line 164 of file controller_route_walker.cc.
|
private |
Definition at line 155 of file controller_route_walker.cc.
|
virtual |
Reimplemented from AgentRouteWalker.
Definition at line 32 of file controller_route_walker.cc.
|
private |
Definition at line 71 of file controller_route_walker.h.
|
private |
Definition at line 70 of file controller_route_walker.h.
|
private |
Definition at line 73 of file controller_route_walker.h.
|
private |
Definition at line 72 of file controller_route_walker.h.