OpenSDN source code
|
#include <path_preference.h>
Classes | |
struct | PathPreferenceEventContainer |
Public Member Functions | |
PathPreferenceModule (Agent *agent) | |
void | Init () |
void | Shutdown () |
void | VrfNotify (DBTablePartBase *partition, DBEntryBase *e) |
void | EnqueueTrafficSeen (IpAddress ip, uint32_t plen, uint32_t interface_index, uint32_t vrf_index, const MacAddress &mac) |
bool | DequeueEvent (PathPreferenceEventContainer e) |
Agent * | agent () |
DBTableBase::ListenerId | vrf_id () const |
DBTableBase::ListenerId | intf_id () const |
void | AddUnresolvedPath (PathPreferenceState *sm) |
void | DeleteUnresolvedPath (PathPreferenceState *sm) |
void | Resolve () |
Private Attributes | |
Agent * | agent_ |
DBTableBase::ListenerId | vrf_id_ |
DBTableBase::ListenerId | intf_id_ |
WorkQueue < PathPreferenceEventContainer > | work_queue_ |
std::set< PathPreferenceState * > | unresolved_paths_ |
Definition at line 211 of file path_preference.h.
PathPreferenceModule::PathPreferenceModule | ( | Agent * | agent | ) |
Definition at line 812 of file path_preference.cc.
void PathPreferenceModule::AddUnresolvedPath | ( | PathPreferenceState * | sm | ) |
Definition at line 1040 of file path_preference.cc.
|
inline |
Definition at line 231 of file path_preference.h.
void PathPreferenceModule::DeleteUnresolvedPath | ( | PathPreferenceState * | sm | ) |
Definition at line 1044 of file path_preference.cc.
bool PathPreferenceModule::DequeueEvent | ( | PathPreferenceEventContainer | e | ) |
void PathPreferenceModule::EnqueueTrafficSeen | ( | IpAddress | ip, |
uint32_t | plen, | ||
uint32_t | interface_index, | ||
uint32_t | vrf_index, | ||
const MacAddress & | mac | ||
) |
void PathPreferenceModule::Init | ( | ) |
|
inline |
Definition at line 233 of file path_preference.h.
void PathPreferenceModule::Resolve | ( | ) |
Definition at line 1051 of file path_preference.cc.
void PathPreferenceModule::Shutdown | ( | ) |
|
inline |
Definition at line 232 of file path_preference.h.
void PathPreferenceModule::VrfNotify | ( | DBTablePartBase * | partition, |
DBEntryBase * | e | ||
) |
|
private |
Definition at line 238 of file path_preference.h.
|
private |
Definition at line 240 of file path_preference.h.
|
private |
Definition at line 242 of file path_preference.h.
|
private |
Definition at line 239 of file path_preference.h.
|
private |
Definition at line 241 of file path_preference.h.