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

#include <flow_mgmt_entry.h>

Inheritance diagram for VrfFlowMgmtEntry:
Collaboration diagram for VrfFlowMgmtEntry:

Classes

struct  Data
 

Public Member Functions

 VrfFlowMgmtEntry (VrfFlowMgmtTree *vrf_tree, const VrfEntry *vrf)
 
virtual ~VrfFlowMgmtEntry ()
 
bool CanDelete () const
 
VrfFlowMgmtTreevrf_tree () const
 
uint32_t vrf_id () const
 
- Public Member Functions inherited from FlowMgmtEntry
 FlowMgmtEntry ()
 
virtual ~FlowMgmtEntry ()
 
uint32_t Size () const
 
virtual bool Add (FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual bool Delete (FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual bool OperEntryAdd (FlowMgmtManager *mgr, const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryChange (FlowMgmtManager *mgr, const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryDelete (FlowMgmtManager *mgr, const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool NonOperEntryDelete (FlowMgmtManager *mgr, const FlowMgmtRequest *req, FlowMgmtKey *key)
 
void set_oper_state (State state)
 
State oper_state () const
 
uint32_t gen_id () const
 
const FlowListflow_list () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (VrfFlowMgmtEntry)
 

Private Attributes

const VrfEntryvrf_
 
uint32_t vrf_id_
 
Data inet4_
 
Data inet6_
 
Data bridge_
 
VrfFlowMgmtTreevrf_tree_
 

Friends

class VrfFlowMgmtTree
 

Additional Inherited Members

- Public Types inherited from FlowMgmtEntry
enum  State { INVALID, OPER_NOT_SEEN, OPER_ADD_SEEN, OPER_DEL_SEEN }
 
typedef
boost::intrusive::member_hook
< FlowMgmtKeyNode,
boost::intrusive::list_member_hook
<>,&FlowMgmtKeyNode::hook_
Node
 
typedef boost::intrusive::list
< FlowMgmtKeyNode, Node
FlowList
 
- Static Public Attributes inherited from FlowMgmtEntry
static const int MaxResponses = 100
 
- Protected Attributes inherited from FlowMgmtEntry
State oper_state_
 
uint32_t gen_id_
 
FlowList flow_list_
 

Detailed Description

Definition at line 192 of file flow_mgmt_entry.h.

Constructor & Destructor Documentation

VrfFlowMgmtEntry::VrfFlowMgmtEntry ( VrfFlowMgmtTree vrf_tree,
const VrfEntry vrf 
)

Definition at line 338 of file flow_mgmt_entry.cc.

virtual VrfFlowMgmtEntry::~VrfFlowMgmtEntry ( )
inlinevirtual

Definition at line 208 of file flow_mgmt_entry.h.

Member Function Documentation

bool VrfFlowMgmtEntry::CanDelete ( ) const
virtual

Reimplemented from FlowMgmtEntry.

Definition at line 347 of file flow_mgmt_entry.cc.

Here is the call graph for this function:

VrfFlowMgmtEntry::DISALLOW_COPY_AND_ASSIGN ( VrfFlowMgmtEntry  )
private
uint32_t VrfFlowMgmtEntry::vrf_id ( ) const
inline

Definition at line 211 of file flow_mgmt_entry.h.

VrfFlowMgmtTree* VrfFlowMgmtEntry::vrf_tree ( ) const
inline

Definition at line 210 of file flow_mgmt_entry.h.

Friends And Related Function Documentation

friend class VrfFlowMgmtTree
friend

Definition at line 214 of file flow_mgmt_entry.h.

Member Data Documentation

Data VrfFlowMgmtEntry::bridge_
private

Definition at line 219 of file flow_mgmt_entry.h.

Data VrfFlowMgmtEntry::inet4_
private

Definition at line 217 of file flow_mgmt_entry.h.

Data VrfFlowMgmtEntry::inet6_
private

Definition at line 218 of file flow_mgmt_entry.h.

const VrfEntry* VrfFlowMgmtEntry::vrf_
private

Definition at line 215 of file flow_mgmt_entry.h.

uint32_t VrfFlowMgmtEntry::vrf_id_
private

Definition at line 216 of file flow_mgmt_entry.h.

VrfFlowMgmtTree* VrfFlowMgmtEntry::vrf_tree_
private

Definition at line 221 of file flow_mgmt_entry.h.


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