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

#include <tunnel_nh.h>

Inheritance diagram for MirrorNHKey:
Collaboration diagram for MirrorNHKey:

Public Member Functions

 MirrorNHKey (const string &vrf_name, const IpAddress &sip, const uint16_t sport, const IpAddress &dip, const uint16_t dport)
 
virtual ~MirrorNHKey ()
 
virtual NextHopAllocEntry () const
 
virtual NextHopKeyClone () const
 
- 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 (MirrorNHKey)
 

Private Attributes

VrfKey vrf_key_
 
IpAddress sip_
 
IpAddress dip_
 
uint16_t sport_
 
uint16_t dport_
 

Friends

class MirrorNH
 

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 123 of file tunnel_nh.h.

Constructor & Destructor Documentation

MirrorNHKey::MirrorNHKey ( const string &  vrf_name,
const IpAddress sip,
const uint16_t  sport,
const IpAddress dip,
const uint16_t  dport 
)
inline

Definition at line 125 of file tunnel_nh.h.

virtual MirrorNHKey::~MirrorNHKey ( )
inlinevirtual

Definition at line 131 of file tunnel_nh.h.

Member Function Documentation

NextHop * MirrorNHKey::AllocEntry ( ) const
virtual

Implements NextHopKey.

Definition at line 1333 of file nexthop.cc.

virtual NextHopKey* MirrorNHKey::Clone ( ) const
inlinevirtual

Implements NextHopKey.

Definition at line 134 of file tunnel_nh.h.

Here is the call graph for this function:

MirrorNHKey::DISALLOW_COPY_AND_ASSIGN ( MirrorNHKey  )
private

Friends And Related Function Documentation

friend class MirrorNH
friend

Definition at line 138 of file tunnel_nh.h.

Member Data Documentation

IpAddress MirrorNHKey::dip_
private

Definition at line 141 of file tunnel_nh.h.

uint16_t MirrorNHKey::dport_
private

Definition at line 143 of file tunnel_nh.h.

IpAddress MirrorNHKey::sip_
private

Definition at line 140 of file tunnel_nh.h.

uint16_t MirrorNHKey::sport_
private

Definition at line 142 of file tunnel_nh.h.

VrfKey MirrorNHKey::vrf_key_
private

Definition at line 139 of file tunnel_nh.h.


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