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

#include <flow_mgmt_entry.h>

Inheritance diagram for InterfaceFlowMgmtEntry:
Collaboration diagram for InterfaceFlowMgmtEntry:

Public Member Functions

 InterfaceFlowMgmtEntry ()
 
virtual ~InterfaceFlowMgmtEntry ()
 
bool Add (FlowEntry *flow, FlowMgmtKeyNode *node)
 
bool Delete (FlowEntry *flow, FlowMgmtKeyNode *node)
 
uint64_t flow_created () const
 
uint64_t flow_aged () const
 
- Public Member Functions inherited from FlowMgmtEntry
 FlowMgmtEntry ()
 
virtual ~FlowMgmtEntry ()
 
uint32_t Size () const
 
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)
 
virtual bool CanDelete () const
 
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 (InterfaceFlowMgmtEntry)
 

Private Attributes

uint64_t flow_created_
 
uint64_t flow_aged_
 

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 133 of file flow_mgmt_entry.h.

Constructor & Destructor Documentation

InterfaceFlowMgmtEntry::InterfaceFlowMgmtEntry ( )
inline

Definition at line 135 of file flow_mgmt_entry.h.

virtual InterfaceFlowMgmtEntry::~InterfaceFlowMgmtEntry ( )
inlinevirtual

Definition at line 137 of file flow_mgmt_entry.h.

Member Function Documentation

bool InterfaceFlowMgmtEntry::Add ( FlowEntry flow,
FlowMgmtKeyNode node 
)
virtual

Reimplemented from FlowMgmtEntry.

Definition at line 285 of file flow_mgmt_entry.cc.

Here is the call graph for this function:

bool InterfaceFlowMgmtEntry::Delete ( FlowEntry flow,
FlowMgmtKeyNode node 
)
virtual

Reimplemented from FlowMgmtEntry.

Definition at line 293 of file flow_mgmt_entry.cc.

Here is the call graph for this function:

InterfaceFlowMgmtEntry::DISALLOW_COPY_AND_ASSIGN ( InterfaceFlowMgmtEntry  )
private
uint64_t InterfaceFlowMgmtEntry::flow_aged ( ) const
inline

Definition at line 142 of file flow_mgmt_entry.h.

uint64_t InterfaceFlowMgmtEntry::flow_created ( ) const
inline

Definition at line 141 of file flow_mgmt_entry.h.

Member Data Documentation

uint64_t InterfaceFlowMgmtEntry::flow_aged_
private

Definition at line 146 of file flow_mgmt_entry.h.

uint64_t InterfaceFlowMgmtEntry::flow_created_
private

Definition at line 145 of file flow_mgmt_entry.h.


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