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

#include <flow_mgmt_key.h>

Inheritance diagram for InetRouteFlowMgmtKey:
Collaboration diagram for InetRouteFlowMgmtKey:

Classes

class  KeyCmp
 

Public Member Functions

 InetRouteFlowMgmtKey (const InetUnicastRouteEntry *route)
 
 InetRouteFlowMgmtKey (uint32_t vrf_id, const IpAddress &ip, uint8_t plen)
 
virtual ~InetRouteFlowMgmtKey ()
 
virtual bool Compare (const FlowMgmtKey *rhs) const
 
FlowMgmtKeyClone ()
 
bool Match (const IpAddress &match_ip) const
 
bool NeedsReCompute (const FlowEntry *flow)
 
IpAddress ip () const
 
uint8_t plen () const
 
- Public Member Functions inherited from RouteFlowMgmtKey
 RouteFlowMgmtKey (Type type, uint32_t vrf_id)
 
 RouteFlowMgmtKey (Type type, const AgentRoute *rt, uint32_t vrf_id)
 
virtual ~RouteFlowMgmtKey ()
 
virtual bool UseDBEntry () const
 
uint32_t vrf_id () const
 
- Public Member Functions inherited from FlowMgmtKey
 FlowMgmtKey (Type type, const DBEntry *db_entry)
 
virtual ~FlowMgmtKey ()
 
virtual void KeyToFlowRequest (FlowEvent *req)
 
bool IsLess (const FlowMgmtKey *rhs) const
 
FlowEvent::Event FreeDBEntryEvent () const
 
Type type () const
 
const DBEntrydb_entry () const
 
void set_db_entry (const DBEntry *db_entry)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (InetRouteFlowMgmtKey)
 

Private Attributes

IpAddress ip_
 
uint8_t plen_
 
Patricia::Node node_
 

Friends

class InetRouteFlowMgmtTree
 

Additional Inherited Members

- Public Types inherited from FlowMgmtKey
enum  Type {
  INVALID, INTERFACE, ACL, ACE_ID,
  VN, VM, INET4, INET6,
  BRIDGE, NH, VRF, BGPASASERVICE,
  END
}
 
- Static Public Member Functions inherited from RouteFlowMgmtKey
static Type AddrToType (const IpAddress &addr)
 
static Type RouteToType (const AgentRoute *rt)
 
- Protected Attributes inherited from RouteFlowMgmtKey
uint32_t vrf_id_
 
- Protected Attributes inherited from FlowMgmtKey
Type type_
 
const DBEntrydb_entry_
 

Detailed Description

Definition at line 197 of file flow_mgmt_key.h.

Constructor & Destructor Documentation

InetRouteFlowMgmtKey::InetRouteFlowMgmtKey ( const InetUnicastRouteEntry route)
inline

Definition at line 199 of file flow_mgmt_key.h.

InetRouteFlowMgmtKey::InetRouteFlowMgmtKey ( uint32_t  vrf_id,
const IpAddress ip,
uint8_t  plen 
)
inline

Definition at line 204 of file flow_mgmt_key.h.

virtual InetRouteFlowMgmtKey::~InetRouteFlowMgmtKey ( )
inlinevirtual

Definition at line 208 of file flow_mgmt_key.h.

Member Function Documentation

FlowMgmtKey* InetRouteFlowMgmtKey::Clone ( )
inlinevirtual

Implements FlowMgmtKey.

Definition at line 253 of file flow_mgmt_key.h.

Here is the call graph for this function:

virtual bool InetRouteFlowMgmtKey::Compare ( const FlowMgmtKey rhs) const
inlinevirtual

Reimplemented from FlowMgmtKey.

Definition at line 210 of file flow_mgmt_key.h.

InetRouteFlowMgmtKey::DISALLOW_COPY_AND_ASSIGN ( InetRouteFlowMgmtKey  )
private
IpAddress InetRouteFlowMgmtKey::ip ( ) const
inline

Definition at line 279 of file flow_mgmt_key.h.

bool InetRouteFlowMgmtKey::Match ( const IpAddress match_ip) const
inline

Definition at line 265 of file flow_mgmt_key.h.

Here is the call graph for this function:

bool InetRouteFlowMgmtKey::NeedsReCompute ( const FlowEntry flow)

Definition at line 70 of file flow_mgmt_key.cc.

Here is the call graph for this function:

uint8_t InetRouteFlowMgmtKey::plen ( ) const
inline

Definition at line 280 of file flow_mgmt_key.h.

Friends And Related Function Documentation

friend class InetRouteFlowMgmtTree
friend

Definition at line 283 of file flow_mgmt_key.h.

Member Data Documentation

IpAddress InetRouteFlowMgmtKey::ip_
private

Definition at line 285 of file flow_mgmt_key.h.

Patricia::Node InetRouteFlowMgmtKey::node_
private

Definition at line 287 of file flow_mgmt_key.h.

uint8_t InetRouteFlowMgmtKey::plen_
private

Definition at line 286 of file flow_mgmt_key.h.


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