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

Public Types | |
| typedef std::pair< MacIpLearningKey, MacLearningEntryPtr > | MacIpLearningEntryPair |
| typedef std::map< MacIpLearningKey, MacLearningEntryPtr, MacIpLearningKeyCmp > | MacIpLearningEntryMap |
Public Member Functions | |
| MacIpLearningTable (Agent *agent, MacLearningProto *proto) | |
| virtual | ~MacIpLearningTable () |
| void | Add (MacLearningEntryPtr ptr) |
| void | Resync (MacLearningEntryPtr ptr) |
| void | Delete (MacLearningEntryPtr ptr) |
| void | DetectIpMove (MacLearningEntryRequestPtr ptr) |
| void | MacIpEntryUnreachable (MacLearningEntryRequestPtr ptr) |
| void | MacIpEntryUnreachable (uint32_t vrf_id, IpAddress &ip, MacAddress &mac) |
| void | MacIpEntryHcNotify (const HealthCheckInstanceService *instance_service) |
| MacIpLearningEntry * | Find (const MacIpLearningKey &key) |
| MacAddress | GetPairedMacAddress (uint32_t vrf_id, const IpAddress &ip) |
| bool | RequestHandler (MacLearningEntryRequestPtr ptr) |
| Agent * | agent () |
| void | SetQueueDisable (bool disable) |
| void | Enqueue (MacLearningEntryRequestPtr req) |
| void | EnqueueMgmtReq (MacLearningEntryPtr ptr, bool add) |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (MacIpLearningTable) | |
Private Attributes | |
| Agent * | agent_ |
| MacIpLearningEntryMap | mac_ip_learning_entry_map_ |
| MacIpLearningRequestQueue | work_queue_ |
| tbb::mutex | macip_map_mutex_ |
Definition at line 71 of file mac_ip_learning.h.
| typedef std::map<MacIpLearningKey, MacLearningEntryPtr, MacIpLearningKeyCmp> MacIpLearningTable::MacIpLearningEntryMap |
Definition at line 77 of file mac_ip_learning.h.
| typedef std::pair<MacIpLearningKey, MacLearningEntryPtr> MacIpLearningTable::MacIpLearningEntryPair |
Definition at line 74 of file mac_ip_learning.h.
| MacIpLearningTable::MacIpLearningTable | ( | Agent * | agent, |
| MacLearningProto * | proto | ||
| ) |
|
inlinevirtual |
Definition at line 80 of file mac_ip_learning.h.
| void MacIpLearningTable::Add | ( | MacLearningEntryPtr | ptr | ) |
|
inline |
Definition at line 94 of file mac_ip_learning.h.
| void MacIpLearningTable::Delete | ( | MacLearningEntryPtr | ptr | ) |
| void MacIpLearningTable::DetectIpMove | ( | MacLearningEntryRequestPtr | ptr | ) |
|
private |
| void MacIpLearningTable::Enqueue | ( | MacLearningEntryRequestPtr | req | ) |
| void MacIpLearningTable::EnqueueMgmtReq | ( | MacLearningEntryPtr | ptr, |
| bool | add | ||
| ) |
| MacIpLearningEntry * MacIpLearningTable::Find | ( | const MacIpLearningKey & | key | ) |
Definition at line 227 of file mac_ip_learning.cc.
| MacAddress MacIpLearningTable::GetPairedMacAddress | ( | uint32_t | vrf_id, |
| const IpAddress & | ip | ||
| ) |
| void MacIpLearningTable::MacIpEntryHcNotify | ( | const HealthCheckInstanceService * | instance_service | ) |
| void MacIpLearningTable::MacIpEntryUnreachable | ( | MacLearningEntryRequestPtr | ptr | ) |
| void MacIpLearningTable::MacIpEntryUnreachable | ( | uint32_t | vrf_id, |
| IpAddress & | ip, | ||
| MacAddress & | mac | ||
| ) |
| bool MacIpLearningTable::RequestHandler | ( | MacLearningEntryRequestPtr | ptr | ) |
| void MacIpLearningTable::Resync | ( | MacLearningEntryPtr | ptr | ) |
|
inline |
|
private |
Definition at line 106 of file mac_ip_learning.h.
|
private |
Definition at line 107 of file mac_ip_learning.h.
|
private |
Definition at line 109 of file mac_ip_learning.h.
|
private |
Definition at line 108 of file mac_ip_learning.h.