OpenSDN source code
|
#include <vn_uve_table.h>
Public Member Functions | |
VnUveTable (Agent *agent, uint32_t default_intvl) | |
virtual | ~VnUveTable () |
void | UpdateBitmap (const std::string &vn, uint8_t proto, uint16_t sport, uint16_t dport) |
void | SendVnStats () |
void | UpdateInterVnStats (const std::string &src, const std::string &dst, uint64_t bytes, uint64_t pkts, bool outgoing) |
void | IncrVnAceStats (const FlowUveVnAcePolicyInfo &info) |
![]() | |
VnUveTableBase (Agent *agent, uint32_t default_intvl) | |
virtual | ~VnUveTableBase () |
void | RegisterDBClients () |
void | Shutdown (void) |
void | SendVnAclRuleCount () |
bool | TimerExpiry () |
Protected Member Functions | |
void | SendVnStatsMsg (const VnEntry *vn) |
void | SendVnAceStats (VnUveEntryBase *entry, const VnEntry *vn) |
![]() | |
void | Delete (const std::string &name) |
VnUveEntryBase * | UveEntryFromVn (const VnEntry *vn) |
virtual void | DispatchVnMsg (const UveVirtualNetworkAgent &uve) |
Private Member Functions | |
virtual VnUveEntryPtr | Allocate (const VnEntry *vn) |
virtual VnUveEntryPtr | Allocate () |
bool | SendUnresolvedVnMsg (const std::string &vn, UveVirtualNetworkAgent &u) |
DISALLOW_COPY_AND_ASSIGN (VnUveTable) | |
Private Attributes | |
DBTableBase::ListenerId | vn_listener_id_ |
DBTableBase::ListenerId | intf_listener_id_ |
Additional Inherited Members | |
![]() | |
typedef boost::shared_ptr < VnUveEntryBase > | VnUveEntryPtr |
typedef std::map< std::string, VnUveEntryPtr > | UveVnMap |
typedef std::pair< std::string, VnUveEntryPtr > | UveVnPair |
![]() | |
UveVnMap | uve_vn_map_ |
Agent * | agent_ |
tbb::mutex | uve_vn_map_mutex_ |
Definition at line 25 of file vn_uve_table.h.
VnUveTable::VnUveTable | ( | Agent * | agent, |
uint32_t | default_intvl | ||
) |
Definition at line 9 of file vn_uve_table.cc.
|
virtual |
Definition at line 13 of file vn_uve_table.cc.
|
privatevirtual |
Reimplemented from VnUveTableBase.
Definition at line 16 of file vn_uve_table.cc.
|
privatevirtual |
Reimplemented from VnUveTableBase.
Definition at line 21 of file vn_uve_table.cc.
|
private |
void VnUveTable::IncrVnAceStats | ( | const FlowUveVnAcePolicyInfo & | info | ) |
|
private |
|
protectedvirtual |
Reimplemented from VnUveTableBase.
Definition at line 125 of file vn_uve_table.cc.
void VnUveTable::SendVnStats | ( | ) |
|
protected |
void VnUveTable::UpdateBitmap | ( | const std::string & | vn, |
uint8_t | proto, | ||
uint16_t | sport, | ||
uint16_t | dport | ||
) |
void VnUveTable::UpdateInterVnStats | ( | const std::string & | src, |
const std::string & | dst, | ||
uint64_t | bytes, | ||
uint64_t | pkts, | ||
bool | outgoing | ||
) |
|
private |
Definition at line 47 of file vn_uve_table.h.
|
private |
Definition at line 46 of file vn_uve_table.h.