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

#include <nexthop.h>

Inheritance diagram for PBBNHKey:
Collaboration diagram for PBBNHKey:

Public Member Functions

 PBBNHKey (const string &vrf_name, const MacAddress &dest_bmac, uint32_t isid)
 
virtual ~PBBNHKey ()
 
virtual NextHopAllocEntry () const
 
virtual NextHopKeyClone () const
 
virtual bool NextHopKeyIsLess (const NextHopKey &rhs) const
 
const MacAddress dest_bmac () const
 
- Public Member Functions inherited from NextHopKey
 NextHopKey (NextHop::Type type, bool policy)
 
virtual ~NextHopKey ()
 
bool IsEqual (const NextHopKey &rhs) const
 
void SetPolicy (bool policy)
 
NextHop::Type GetType () const
 
bool GetPolicy () const
 
bool IsLess (const NextHopKey &rhs) const
 
- Public Member Functions inherited from AgentKey
 AgentKey ()
 
 AgentKey (DBSubOperation sub_op)
 
virtual ~AgentKey ()
 
- Public Member Functions inherited from DBRequestKey
virtual ~DBRequestKey ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (PBBNHKey)
 

Private Attributes

VrfKey vrf_key_
 
MacAddress dest_bmac_
 
uint32_t isid_
 
uint32_t label_
 
NextHopConstRef nh_
 

Friends

class PBBNH
 

Additional Inherited Members

- Public Types inherited from AgentKey
enum  DBSubOperation { ADD_DEL_CHANGE, RESYNC }
 
- Public Attributes inherited from AgentKey
uint8_t sub_op_
 
- Protected Attributes inherited from NextHopKey
NextHop::Type type_
 
bool policy_
 

Detailed Description

Definition at line 1082 of file nexthop.h.

Constructor & Destructor Documentation

PBBNHKey::PBBNHKey ( const string &  vrf_name,
const MacAddress dest_bmac,
uint32_t  isid 
)
inline

Definition at line 1084 of file nexthop.h.

virtual PBBNHKey::~PBBNHKey ( )
inlinevirtual

Definition at line 1088 of file nexthop.h.

Member Function Documentation

NextHop * PBBNHKey::AllocEntry ( ) const
virtual

Implements NextHopKey.

Definition at line 2836 of file nexthop.cc.

Here is the call graph for this function:

virtual NextHopKey* PBBNHKey::Clone ( ) const
inlinevirtual

Implements NextHopKey.

Definition at line 1091 of file nexthop.h.

Here is the call graph for this function:

const MacAddress PBBNHKey::dest_bmac ( ) const
inline

Definition at line 1108 of file nexthop.h.

PBBNHKey::DISALLOW_COPY_AND_ASSIGN ( PBBNHKey  )
private
virtual bool PBBNHKey::NextHopKeyIsLess ( const NextHopKey rhs) const
inlinevirtual

Reimplemented from NextHopKey.

Definition at line 1095 of file nexthop.h.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class PBBNH
friend

Definition at line 1112 of file nexthop.h.

Member Data Documentation

MacAddress PBBNHKey::dest_bmac_
private

Definition at line 1114 of file nexthop.h.

uint32_t PBBNHKey::isid_
private

Definition at line 1115 of file nexthop.h.

uint32_t PBBNHKey::label_
private

Definition at line 1116 of file nexthop.h.

NextHopConstRef PBBNHKey::nh_
private

Definition at line 1117 of file nexthop.h.

VrfKey PBBNHKey::vrf_key_
private

Definition at line 1113 of file nexthop.h.


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