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

#include <mac_ip_learning.h>

Inheritance diagram for MacIpLearningEntry:
Collaboration diagram for MacIpLearningEntry:

Public Member Functions

 MacIpLearningEntry (MacIpLearningTable *table, uint32_t vrf_id_, const IpAddress &ip, const MacAddress &mac, InterfaceConstRef intf)
 
virtual ~MacIpLearningEntry ()
 
bool Add ()
 
void Delete ()
 
void Resync ()
 
uint32_t vrf_id ()
 
const Interfaceintf ()
 
const VnEntryVn ()
 
const HealthCheckServiceHcService ()
 
const HealthCheckInstanceBaseHcInstance ()
 
MacIpLearningTablemac_ip_learning_table () const
 
const MacIpLearningKeykey () const
 
IpAddressIpAddr ()
 
MacAddressMac ()
 
void EnqueueToTable (MacLearningEntryRequestPtr req)
 
void AddHealthCheckService (HealthCheckService *service)
 
void UpdateHealthCheckService ()
 
HealthCheckServiceGetHealthCheckService (const VnEntry *vn)
 
- Public Member Functions inherited from MacLearningEntry
 MacLearningEntry (uint32_t vrf_id)
 
virtual ~MacLearningEntry ()
 
VrfEntryvrf () const
 
virtual void AddWithToken ()
 
virtual void AddToken (TokenPtr ptr)
 
virtual void ReleaseToken ()
 
virtual void CopyToken (MacLearningEntry *entry)
 
virtual bool HasTokens ()
 
bool deleted () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (MacIpLearningEntry)
 

Private Attributes

MacIpLearningTablemac_ip_learning_table_
 
MacIpLearningKey key_
 
IpAddress ip_
 
MacAddress mac_
 
InterfaceConstRef intf_
 
VnEntryConstRef vn_
 
HealthCheckServicehc_service_
 
HealthCheckInstanceBasehc_instance_
 

Additional Inherited Members

- Protected Attributes inherited from MacLearningEntry
VrfEntryRef vrf_
 
bool deleted_
 

Detailed Description

Definition at line 18 of file mac_ip_learning.h.

Constructor & Destructor Documentation

MacIpLearningEntry::MacIpLearningEntry ( MacIpLearningTable table,
uint32_t  vrf_id_,
const IpAddress ip,
const MacAddress mac,
InterfaceConstRef  intf 
)

Definition at line 247 of file mac_ip_learning.cc.

Here is the call graph for this function:

virtual MacIpLearningEntry::~MacIpLearningEntry ( )
inlinevirtual

Definition at line 23 of file mac_ip_learning.h.

Member Function Documentation

bool MacIpLearningEntry::Add ( )
virtual

Implements MacLearningEntry.

Definition at line 258 of file mac_ip_learning.cc.

Here is the call graph for this function:

void MacIpLearningEntry::AddHealthCheckService ( HealthCheckService service)

Definition at line 317 of file mac_ip_learning.cc.

Here is the call graph for this function:

void MacIpLearningEntry::Delete ( )
virtual

Implements MacLearningEntry.

Definition at line 272 of file mac_ip_learning.cc.

Here is the call graph for this function:

MacIpLearningEntry::DISALLOW_COPY_AND_ASSIGN ( MacIpLearningEntry  )
private
void MacIpLearningEntry::EnqueueToTable ( MacLearningEntryRequestPtr  req)
virtual

Implements MacLearningEntry.

Definition at line 293 of file mac_ip_learning.cc.

Here is the call graph for this function:

HealthCheckService * MacIpLearningEntry::GetHealthCheckService ( const VnEntry vn)

Definition at line 330 of file mac_ip_learning.cc.

Here is the call graph for this function:

const HealthCheckInstanceBase* MacIpLearningEntry::HcInstance ( )
inline

Definition at line 39 of file mac_ip_learning.h.

const HealthCheckService* MacIpLearningEntry::HcService ( )
inline

Definition at line 36 of file mac_ip_learning.h.

const Interface* MacIpLearningEntry::intf ( )
inline

Definition at line 30 of file mac_ip_learning.h.

IpAddress& MacIpLearningEntry::IpAddr ( )
inline

Definition at line 48 of file mac_ip_learning.h.

const MacIpLearningKey& MacIpLearningEntry::key ( ) const
inline

Definition at line 45 of file mac_ip_learning.h.

MacAddress& MacIpLearningEntry::Mac ( )
inline

Definition at line 51 of file mac_ip_learning.h.

MacIpLearningTable* MacIpLearningEntry::mac_ip_learning_table ( ) const
inline

Definition at line 42 of file mac_ip_learning.h.

void MacIpLearningEntry::Resync ( )
virtual

Implements MacLearningEntry.

Definition at line 289 of file mac_ip_learning.cc.

Here is the call graph for this function:

void MacIpLearningEntry::UpdateHealthCheckService ( )

Definition at line 297 of file mac_ip_learning.cc.

Here is the call graph for this function:

const VnEntry* MacIpLearningEntry::Vn ( )
inline

Definition at line 33 of file mac_ip_learning.h.

uint32_t MacIpLearningEntry::vrf_id ( )
inlinevirtual

Implements MacLearningEntry.

Definition at line 27 of file mac_ip_learning.h.

Member Data Documentation

HealthCheckInstanceBase* MacIpLearningEntry::hc_instance_
private

Definition at line 67 of file mac_ip_learning.h.

HealthCheckService* MacIpLearningEntry::hc_service_
private

Definition at line 66 of file mac_ip_learning.h.

InterfaceConstRef MacIpLearningEntry::intf_
private

Definition at line 64 of file mac_ip_learning.h.

IpAddress MacIpLearningEntry::ip_
private

Definition at line 62 of file mac_ip_learning.h.

MacIpLearningKey MacIpLearningEntry::key_
private

Definition at line 61 of file mac_ip_learning.h.

MacAddress MacIpLearningEntry::mac_
private

Definition at line 63 of file mac_ip_learning.h.

MacIpLearningTable* MacIpLearningEntry::mac_ip_learning_table_
private

Definition at line 60 of file mac_ip_learning.h.

VnEntryConstRef MacIpLearningEntry::vn_
private

Definition at line 65 of file mac_ip_learning.h.


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