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

#include <nexthop.h>

Inheritance diagram for LabelledTunnelNHKey:
Collaboration diagram for LabelledTunnelNHKey:

Public Member Functions

 LabelledTunnelNHKey (const string &vrf_name, const Ip4Address &sip, const Ip4Address &dip, bool policy, TunnelType type, const MacAddress &rewrite_dmac=MacAddress(), uint32_t label=3)
 
virtual ~LabelledTunnelNHKey ()
 
virtual NextHopAllocEntry () const
 
virtual bool NextHopKeyIsLess (const NextHopKey &rhs) const
 
virtual NextHopKeyClone () const
 
- Public Member Functions inherited from TunnelNHKey
 TunnelNHKey (const string &vrf_name, const Ip4Address &sip, const Ip4Address &dip, bool policy, TunnelType type, const MacAddress &rewrite_dmac=MacAddress())
 
virtual ~TunnelNHKey ()
 
void set_tunnel_type (TunnelType tunnel_type)
 
const Ip4Addressdip () const
 
const MacAddressrewrite_dmac ()
 
- 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 (LabelledTunnelNHKey)
 

Private Attributes

uint32_t transport_mpls_label_
 

Friends

class LabelledTunnelNH
 

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 TunnelNHKey
VrfKey vrf_key_
 
Ip4Address sip_
 
Ip4Address dip_
 
TunnelType tunnel_type_
 
MacAddress rewrite_dmac_
 
- Protected Attributes inherited from NextHopKey
NextHop::Type type_
 
bool policy_
 

Detailed Description

Definition at line 1028 of file nexthop.h.

Constructor & Destructor Documentation

LabelledTunnelNHKey::LabelledTunnelNHKey ( const string &  vrf_name,
const Ip4Address sip,
const Ip4Address dip,
bool  policy,
TunnelType  type,
const MacAddress rewrite_dmac = MacAddress(),
uint32_t  label = 3 
)
inline

Definition at line 1030 of file nexthop.h.

virtual LabelledTunnelNHKey::~LabelledTunnelNHKey ( )
inlinevirtual

Definition at line 1040 of file nexthop.h.

Member Function Documentation

NextHop * LabelledTunnelNHKey::AllocEntry ( ) const
virtual

Reimplemented from TunnelNHKey.

Definition at line 1254 of file nexthop.cc.

Here is the call graph for this function:

virtual NextHopKey* LabelledTunnelNHKey::Clone ( ) const
inlinevirtual

Reimplemented from TunnelNHKey.

Definition at line 1062 of file nexthop.h.

Here is the call graph for this function:

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

Reimplemented from TunnelNHKey.

Definition at line 1043 of file nexthop.h.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class LabelledTunnelNH
friend

Definition at line 1069 of file nexthop.h.

Member Data Documentation

uint32_t LabelledTunnelNHKey::transport_mpls_label_
private

Definition at line 1068 of file nexthop.h.


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