|
OpenSDN source code
|
#include <mac_aging.h>

Public Types | |
| typedef WorkQueue< MacLearningEntryRequestPtr > | MacAgingQueue |
| typedef boost::shared_ptr< MacAgingTable > | MacAgingTablePtr |
| typedef std::pair< uint32_t, MacAgingTablePtr > | MacAgingTablePair |
| typedef std::map< uint32_t, MacAgingTablePtr > | MacAgingTableMap |
Public Member Functions | |
| MacAgingPartition (Agent *agent, uint32_t id) | |
| virtual | ~MacAgingPartition () |
| void | Enqueue (MacLearningEntryRequestPtr req) |
| bool | Run () |
| bool | RequestHandler (MacLearningEntryRequestPtr ptr) |
| void | Add (MacLearningEntryPtr ptr) |
| void | Delete (MacLearningEntryPtr ptr) |
| MacAgingTable * | Find (uint32_t id) |
Static Public Attributes | |
| static const uint32_t | kMinIterationTimeout = 1 * 100 |
Private Member Functions | |
| void | DeleteVrf (uint32_t id) |
| DISALLOW_COPY_AND_ASSIGN (MacAgingPartition) | |
Private Attributes | |
| Agent * | agent_ |
| uint32_t | partition_id_ |
| MacAgingQueue | request_queue_ |
| Timer * | timer_ |
| tbb::mutex | mutex_ |
| MacAgingTableMap | aging_table_map_ |
Friends | |
| class | MacAgingSandeshResp |
Definition at line 109 of file mac_aging.h.
Definition at line 112 of file mac_aging.h.
| typedef std::map<uint32_t, MacAgingTablePtr> MacAgingPartition::MacAgingTableMap |
Definition at line 115 of file mac_aging.h.
| typedef std::pair<uint32_t, MacAgingTablePtr> MacAgingPartition::MacAgingTablePair |
Definition at line 114 of file mac_aging.h.
| typedef boost::shared_ptr<MacAgingTable> MacAgingPartition::MacAgingTablePtr |
Definition at line 113 of file mac_aging.h.
| MacAgingPartition::MacAgingPartition | ( | Agent * | agent, |
| uint32_t | id | ||
| ) |
Definition at line 178 of file mac_aging.cc.
|
virtual |
| void MacAgingPartition::Add | ( | MacLearningEntryPtr | ptr | ) |
| void MacAgingPartition::Delete | ( | MacLearningEntryPtr | ptr | ) |
Definition at line 216 of file mac_aging.cc.
|
private |
Definition at line 235 of file mac_aging.cc.
|
private |
| void MacAgingPartition::Enqueue | ( | MacLearningEntryRequestPtr | req | ) |
|
inline |
Definition at line 124 of file mac_aging.h.
| bool MacAgingPartition::RequestHandler | ( | MacLearningEntryRequestPtr | ptr | ) |
| bool MacAgingPartition::Run | ( | void | ) |
Definition at line 223 of file mac_aging.cc.
|
friend |
Definition at line 130 of file mac_aging.h.
|
private |
Definition at line 131 of file mac_aging.h.
|
private |
Definition at line 136 of file mac_aging.h.
|
static |
Definition at line 111 of file mac_aging.h.
|
private |
Definition at line 135 of file mac_aging.h.
|
private |
Definition at line 132 of file mac_aging.h.
|
private |
Definition at line 133 of file mac_aging.h.
|
private |
Definition at line 134 of file mac_aging.h.