OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PathPreferenceModule Class Reference

#include <path_preference.h>

Collaboration diagram for PathPreferenceModule:

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)
 
Agentagent ()
 
DBTableBase::ListenerId vrf_id () const
 
DBTableBase::ListenerId intf_id () const
 
void AddUnresolvedPath (PathPreferenceState *sm)
 
void DeleteUnresolvedPath (PathPreferenceState *sm)
 
void Resolve ()
 

Private Attributes

Agentagent_
 
DBTableBase::ListenerId vrf_id_
 
DBTableBase::ListenerId intf_id_
 
WorkQueue
< PathPreferenceEventContainer
work_queue_
 
std::set< PathPreferenceState * > unresolved_paths_
 

Detailed Description

Definition at line 211 of file path_preference.h.

Constructor & Destructor Documentation

PathPreferenceModule::PathPreferenceModule ( Agent agent)

Definition at line 812 of file path_preference.cc.

Member Function Documentation

void PathPreferenceModule::AddUnresolvedPath ( PathPreferenceState sm)

Definition at line 1040 of file path_preference.cc.

Agent* PathPreferenceModule::agent ( )
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)

Definition at line 819 of file path_preference.cc.

Here is the call graph for this function:

void PathPreferenceModule::EnqueueTrafficSeen ( IpAddress  ip,
uint32_t  plen,
uint32_t  interface_index,
uint32_t  vrf_index,
const MacAddress mac 
)

Definition at line 919 of file path_preference.cc.

Here is the call graph for this function:

void PathPreferenceModule::Init ( )

Definition at line 1063 of file path_preference.cc.

Here is the call graph for this function:

DBTableBase::ListenerId PathPreferenceModule::intf_id ( ) const
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 ( )

Definition at line 1068 of file path_preference.cc.

Here is the call graph for this function:

DBTableBase::ListenerId PathPreferenceModule::vrf_id ( ) const
inline

Definition at line 232 of file path_preference.h.

void PathPreferenceModule::VrfNotify ( DBTablePartBase partition,
DBEntryBase e 
)

Definition at line 993 of file path_preference.cc.

Here is the call graph for this function:

Member Data Documentation

Agent* PathPreferenceModule::agent_
private

Definition at line 238 of file path_preference.h.

DBTableBase::ListenerId PathPreferenceModule::intf_id_
private

Definition at line 240 of file path_preference.h.

std::set<PathPreferenceState *> PathPreferenceModule::unresolved_paths_
private

Definition at line 242 of file path_preference.h.

DBTableBase::ListenerId PathPreferenceModule::vrf_id_
private

Definition at line 239 of file path_preference.h.

WorkQueue<PathPreferenceEventContainer> PathPreferenceModule::work_queue_
private

Definition at line 241 of file path_preference.h.


The documentation for this class was generated from the following files: