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

#include <nexthop.h>

Inheritance diagram for ArpNHKey:
Collaboration diagram for ArpNHKey:

Public Member Functions

 ArpNHKey (const string &vrf_name, const Ip4Address &ip, bool policy)
 
virtual ~ArpNHKey ()
 
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 Member Functions

 DISALLOW_COPY_AND_ASSIGN (ArpNHKey)
 

Private Attributes

VrfKey vrf_key_
 
Ip4Address dip_
 

Friends

class ArpNH
 

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

Constructor & Destructor Documentation

ArpNHKey::ArpNHKey ( const string &  vrf_name,
const Ip4Address ip,
bool  policy 
)
inline

Definition at line 771 of file nexthop.h.

virtual ArpNHKey::~ArpNHKey ( )
inlinevirtual

Definition at line 774 of file nexthop.h.

Member Function Documentation

NextHop * ArpNHKey::AllocEntry ( ) const
virtual

Implements NextHopKey.

Definition at line 438 of file nexthop.cc.

Here is the call graph for this function:

virtual NextHopKey* ArpNHKey::Clone ( ) const
inlinevirtual

Implements NextHopKey.

Definition at line 777 of file nexthop.h.

Here is the call graph for this function:

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

Reimplemented from NextHopKey.

Definition at line 780 of file nexthop.h.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class ArpNH
friend

Definition at line 793 of file nexthop.h.

Member Data Documentation

Ip4Address ArpNHKey::dip_
private

Definition at line 795 of file nexthop.h.

VrfKey ArpNHKey::vrf_key_
private

Definition at line 794 of file nexthop.h.


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