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

#include <mac_learning.h>

Inheritance diagram for MacLearningEntryPBB:
Collaboration diagram for MacLearningEntryPBB:

Public Member Functions

 MacLearningEntryPBB (MacLearningPartition *table, uint32_t vrf_id, const MacAddress &mac, uint32_t index, const MacAddress &bmac)
 
virtual ~MacLearningEntryPBB ()
 
bool Add ()
 
const MacAddressbmac () 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 (MacLearningEntryPBB)
 

Private Attributes

const MacAddress bmac_
 

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 184 of file mac_learning.h.

Constructor & Destructor Documentation

MacLearningEntryPBB::MacLearningEntryPBB ( MacLearningPartition table,
uint32_t  vrf_id,
const MacAddress mac,
uint32_t  index,
const MacAddress bmac 
)

Definition at line 108 of file mac_learning.cc.

virtual MacLearningEntryPBB::~MacLearningEntryPBB ( )
inlinevirtual

Definition at line 189 of file mac_learning.h.

Member Function Documentation

bool MacLearningEntryPBB::Add ( )
virtual

Implements MacPbbLearningEntry.

Definition at line 116 of file mac_learning.cc.

Here is the call graph for this function:

const MacAddress& MacLearningEntryPBB::bmac ( ) const
inline

Definition at line 193 of file mac_learning.h.

MacLearningEntryPBB::DISALLOW_COPY_AND_ASSIGN ( MacLearningEntryPBB  )
private

Member Data Documentation

const MacAddress MacLearningEntryPBB::bmac_
private

Definition at line 198 of file mac_learning.h.


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