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

#include <mac_learning.h>

Inheritance diagram for MacLearningEntryRemote:
Collaboration diagram for MacLearningEntryRemote:

Public Member Functions

 MacLearningEntryRemote (MacLearningPartition *table, uint32_t vrf_id, const MacAddress &mac, uint32_t index, const IpAddress remote_ip)
 
virtual ~MacLearningEntryRemote ()
 
bool Add ()
 
const IpAddressremote_ip () const
 
- Public Member Functions inherited from MacPbbLearningEntry
 MacPbbLearningEntry (MacLearningPartition *table, uint32_t vrf_id, const MacAddress &mac, uint32_t index)
 
virtual ~MacPbbLearningEntry ()
 
virtual void Delete ()
 
virtual void Resync ()
 
virtual void AddWithToken ()
 
MacLearningPartitionmac_learning_table () const
 
uint32_t index () const
 
const MacAddressmac () const
 
uint32_t vrf_id ()
 
const MacLearningKeykey () const
 
void AddToken (TokenPtr ptr)
 
void ReleaseToken ()
 
void CopyToken (MacLearningEntry *entry)
 
bool HasTokens ()
 
void EnqueueToTable (MacLearningEntryRequestPtr req)
 
- Public Member Functions inherited from MacLearningEntry
 MacLearningEntry (uint32_t vrf_id)
 
virtual ~MacLearningEntry ()
 
VrfEntryvrf () const
 
bool deleted () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (MacLearningEntryRemote)
 

Private Attributes

IpAddress remote_ip_
 

Additional Inherited Members

- Public Types inherited from MacPbbLearningEntry
typedef std::vector< TokenPtrTokenList
 
- Protected Attributes inherited from MacPbbLearningEntry
MacLearningPartitionmac_learning_table_
 
MacLearningKey key_
 
uint32_t index_
 
uint32_t ethernet_tag_
 
TokenList list_
 
tbb::mutex mutex_
 
- Protected Attributes inherited from MacLearningEntry
VrfEntryRef vrf_
 
bool deleted_
 

Detailed Description

Definition at line 165 of file mac_learning.h.

Constructor & Destructor Documentation

MacLearningEntryRemote::MacLearningEntryRemote ( MacLearningPartition table,
uint32_t  vrf_id,
const MacAddress mac,
uint32_t  index,
const IpAddress  remote_ip 
)

Definition at line 96 of file mac_learning.cc.

virtual MacLearningEntryRemote::~MacLearningEntryRemote ( )
inlinevirtual

Definition at line 170 of file mac_learning.h.

Member Function Documentation

bool MacLearningEntryRemote::Add ( )
virtual

Implements MacPbbLearningEntry.

Definition at line 104 of file mac_learning.cc.

MacLearningEntryRemote::DISALLOW_COPY_AND_ASSIGN ( MacLearningEntryRemote  )
private
const IpAddress& MacLearningEntryRemote::remote_ip ( ) const
inline

Definition at line 174 of file mac_learning.h.

Member Data Documentation

IpAddress MacLearningEntryRemote::remote_ip_
private

Definition at line 178 of file mac_learning.h.


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