OpenSDN source code
|
#include <mac_learning_mgmt.h>
Public Member Functions | |
MacLearningMgmtRouteEntry (const AgentRoute *rt) | |
MacLearningMgmtRouteEntry (const std::string &vrf, const MacAddress &mac) | |
virtual | ~MacLearningMgmtRouteEntry () |
virtual bool | UseDBEntry () const |
virtual bool | TryDelete () |
virtual bool | Compare (const MacLearningMgmtDBEntry *rhs) const |
const std::string & | vrf () |
![]() | |
MacLearningMgmtDBEntry (Type type_, const DBEntry *entry) | |
virtual | ~MacLearningMgmtDBEntry () |
const DBEntry * | db_entry () const |
void | Change () |
void | Delete (bool set_delete, bool notify_event=true) |
void | set_tree (MacLearningMgmtDBTree *tree) |
void | set_db_entry (const DBEntry *entry) |
virtual bool | IsLess (const MacLearningMgmtDBEntry *rhs) const |
MacLearningMgmtDBTree * | tree () const |
void | set_gen_id (uint32_t gen_id) |
uint32_t | gen_id () const |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (MacLearningMgmtRouteEntry) | |
Private Attributes | |
std::string | vrf_ |
MacAddress | mac_ |
Additional Inherited Members | |
![]() | |
enum | Type { INVALID, INTERFACE, VRF, BRIDGE, EVPN, VN, HC_SERVICE, END } |
typedef DependencyList < MacLearningMgmtNode, MacLearningMgmtDBEntry > | MacLearningEntryList |
![]() | |
DEPENDENCY_LIST (MacLearningMgmtNode, MacLearningMgmtDBEntry, mac_entry_list_) | |
DISALLOW_COPY_AND_ASSIGN (MacLearningMgmtDBEntry) | |
![]() | |
Type | type_ |
const DBEntry * | db_entry_ |
bool | deleted_ |
MacLearningMgmtDBTree * | tree_ |
uint32_t | gen_id_ |
Definition at line 153 of file mac_learning_mgmt.h.
MacLearningMgmtRouteEntry::MacLearningMgmtRouteEntry | ( | const AgentRoute * | rt | ) |
MacLearningMgmtRouteEntry::MacLearningMgmtRouteEntry | ( | const std::string & | vrf, |
const MacAddress & | mac | ||
) |
Definition at line 189 of file mac_learning_mgmt.cc.
|
inlinevirtual |
Definition at line 158 of file mac_learning_mgmt.h.
|
inlinevirtual |
Reimplemented from MacLearningMgmtDBEntry.
Definition at line 164 of file mac_learning_mgmt.h.
|
private |
|
virtual |
Reimplemented from MacLearningMgmtDBEntry.
Definition at line 157 of file mac_learning_mgmt.cc.
|
inlinevirtual |
Reimplemented from MacLearningMgmtDBEntry.
Definition at line 159 of file mac_learning_mgmt.h.
|
inline |
Definition at line 173 of file mac_learning_mgmt.h.
|
private |
Definition at line 178 of file mac_learning_mgmt.h.
|
private |
Definition at line 177 of file mac_learning_mgmt.h.