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

#include <nexthop.h>

Inheritance diagram for NdpNHKey:
Collaboration diagram for NdpNHKey:

Public Member Functions

 NdpNHKey (const string &vrf_name, const IpAddress &ip, bool policy)
 
virtual ~NdpNHKey ()
 
virtual NextHopAllocEntry () const
 
virtual NextHopKeyClone () const
 
string ToString ()
 
- Public Member Functions inherited from NextHopKey
 NextHopKey (NextHop::Type type, bool policy)
 
virtual ~NextHopKey ()
 
virtual bool NextHopKeyIsLess (const NextHopKey &rhs) const
 
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 (NdpNHKey)
 

Private Attributes

VrfKey vrf_key_
 
IpAddress dip_
 

Friends

class NdpNH
 

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

Constructor & Destructor Documentation

NdpNHKey::NdpNHKey ( const string &  vrf_name,
const IpAddress ip,
bool  policy 
)
inline

Definition at line 869 of file nexthop.h.

virtual NdpNHKey::~NdpNHKey ( )
inlinevirtual

Definition at line 872 of file nexthop.h.

Member Function Documentation

NextHop * NdpNHKey::AllocEntry ( ) const
virtual

Implements NextHopKey.

Definition at line 543 of file nexthop.cc.

Here is the call graph for this function:

virtual NextHopKey* NdpNHKey::Clone ( ) const
inlinevirtual

Implements NextHopKey.

Definition at line 875 of file nexthop.h.

Here is the call graph for this function:

NdpNHKey::DISALLOW_COPY_AND_ASSIGN ( NdpNHKey  )
private
string NdpNHKey::ToString ( )
inline

Definition at line 878 of file nexthop.h.

Friends And Related Function Documentation

friend class NdpNH
friend

Definition at line 882 of file nexthop.h.

Member Data Documentation

IpAddress NdpNHKey::dip_
private

Definition at line 884 of file nexthop.h.

VrfKey NdpNHKey::vrf_key_
private

Definition at line 883 of file nexthop.h.


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