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

#include <nexthop.h>

Inheritance diagram for InterfaceNHKey:
Collaboration diagram for InterfaceNHKey:

Public Member Functions

 InterfaceNHKey (InterfaceKey *intf, bool policy, uint8_t flags, const MacAddress &mac)
 
virtual ~InterfaceNHKey ()
 
const boost::uuids::uuidGetUuid () const
 
const std::string & name () const
 
const Interface::Typeintf_type () const
 
const InterfaceKeyintf_key () const
 
void set_flags (uint8_t flags)
 
const uint8_t & flags () const
 
const MacAddressdmac () const
 
virtual NextHopAllocEntry () const
 
virtual NextHopKeyClone () const
 
virtual bool NextHopKeyIsLess (const NextHopKey &rhs) 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 Attributes

boost::scoped_ptr< InterfaceKeyintf_key_
 
uint8_t flags_
 
MacAddress dmac_
 

Friends

class InterfaceNH
 

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 1195 of file nexthop.h.

Constructor & Destructor Documentation

InterfaceNHKey::InterfaceNHKey ( InterfaceKey intf,
bool  policy,
uint8_t  flags,
const MacAddress mac 
)
inline

Definition at line 1197 of file nexthop.h.

virtual InterfaceNHKey::~InterfaceNHKey ( )
inlinevirtual

Definition at line 1210 of file nexthop.h.

Member Function Documentation

NextHop * InterfaceNHKey::AllocEntry ( ) const
virtual

Implements NextHopKey.

Definition at line 648 of file nexthop.cc.

Here is the call graph for this function:

virtual NextHopKey* InterfaceNHKey::Clone ( ) const
inlinevirtual

Implements NextHopKey.

Definition at line 1220 of file nexthop.h.

Here is the call graph for this function:

const MacAddress& InterfaceNHKey::dmac ( ) const
inline

Definition at line 1217 of file nexthop.h.

const uint8_t& InterfaceNHKey::flags ( ) const
inline

Definition at line 1216 of file nexthop.h.

const boost::uuids::uuid& InterfaceNHKey::GetUuid ( ) const
inline

Definition at line 1211 of file nexthop.h.

const InterfaceKey* InterfaceNHKey::intf_key ( ) const
inline

Definition at line 1214 of file nexthop.h.

const Interface::Type& InterfaceNHKey::intf_type ( ) const
inline

Definition at line 1213 of file nexthop.h.

const std::string& InterfaceNHKey::name ( ) const
inline

Definition at line 1212 of file nexthop.h.

virtual bool InterfaceNHKey::NextHopKeyIsLess ( const NextHopKey rhs) const
inlinevirtual

Reimplemented from NextHopKey.

Definition at line 1230 of file nexthop.h.

void InterfaceNHKey::set_flags ( uint8_t  flags)
inline

Definition at line 1215 of file nexthop.h.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class InterfaceNH
friend

Definition at line 1244 of file nexthop.h.

Member Data Documentation

MacAddress InterfaceNHKey::dmac_
private

Definition at line 1247 of file nexthop.h.

uint8_t InterfaceNHKey::flags_
private

Definition at line 1246 of file nexthop.h.

boost::scoped_ptr<InterfaceKey> InterfaceNHKey::intf_key_
private

Definition at line 1245 of file nexthop.h.


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