OpenSDN source code
AclFlowMgmtTree Class Reference

#include <flow_mgmt_tree.h>

Inheritance diagram for AclFlowMgmtTree:
Collaboration diagram for AclFlowMgmtTree:

Public Member Functions

 AclFlowMgmtTree (FlowMgmtManager *mgr)
 
virtual ~AclFlowMgmtTree ()
 
bool Add (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKey *old_key, FlowMgmtKeyNode *node)
 
bool Delete (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKeyNode *node)
 
void ExtractKeys (FlowEntry *flow, FlowMgmtKeyTree *tree, const MatchAclParamsList *acl_list)
 
void ExtractKeys (FlowEntry *flow, FlowMgmtKeyTree *tree)
 
FlowMgmtEntryAllocate (const FlowMgmtKey *key)
 
- Public Member Functions inherited from FlowMgmtTree
 FlowMgmtTree (FlowMgmtManager *mgr)
 
virtual ~FlowMgmtTree ()
 
virtual bool Add (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual void InsertEntry (FlowMgmtKey *key, FlowMgmtEntry *entry)
 
virtual void RemoveEntry (Tree::iterator it)
 
virtual bool OperEntryAdd (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryChange (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryDelete (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool RetryDelete (FlowMgmtKey *key)
 
virtual void FreeNotify (FlowMgmtKey *key, uint32_t gen_id)
 
FlowMgmtEntryLocate (FlowMgmtKey *key)
 
FlowMgmtEntryFind (FlowMgmtKey *key)
 
FlowMgmtKeyLowerBound (FlowMgmtKey *key)
 
Treetree ()
 
FlowMgmtManagermgr () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (AclFlowMgmtTree)
 

Additional Inherited Members

- Public Types inherited from FlowMgmtTree
typedef std::map< FlowMgmtKey *, FlowMgmtEntry *, FlowMgmtKeyCmpTree
 
- Static Public Member Functions inherited from FlowMgmtTree
static bool AddFlowMgmtKey (FlowMgmtKeyTree *tree, FlowMgmtKey *key)
 
- Protected Member Functions inherited from FlowMgmtTree
bool TryDelete (FlowMgmtKey *key, FlowMgmtEntry *entry)
 
- Protected Attributes inherited from FlowMgmtTree
Tree tree_
 
FlowMgmtManagermgr_
 

Detailed Description

Definition at line 76 of file flow_mgmt_tree.h.

Constructor & Destructor Documentation

◆ AclFlowMgmtTree()

AclFlowMgmtTree::AclFlowMgmtTree ( FlowMgmtManager mgr)
inline

Definition at line 78 of file flow_mgmt_tree.h.

◆ ~AclFlowMgmtTree()

virtual AclFlowMgmtTree::~AclFlowMgmtTree ( )
inlinevirtual

Definition at line 79 of file flow_mgmt_tree.h.

Member Function Documentation

◆ Add()

bool AclFlowMgmtTree::Add ( FlowMgmtKey key,
FlowEntry flow,
FlowMgmtKey old_key,
FlowMgmtKeyNode node 
)

Definition at line 266 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

◆ Allocate()

FlowMgmtEntry * AclFlowMgmtTree::Allocate ( const FlowMgmtKey key)
virtual

Implements FlowMgmtTree.

Definition at line 262 of file flow_mgmt_tree.cc.

◆ Delete()

bool AclFlowMgmtTree::Delete ( FlowMgmtKey key,
FlowEntry flow,
FlowMgmtKeyNode node 
)
virtual

Reimplemented from FlowMgmtTree.

Definition at line 282 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

AclFlowMgmtTree::DISALLOW_COPY_AND_ASSIGN ( AclFlowMgmtTree  )
private

◆ ExtractKeys() [1/2]

void AclFlowMgmtTree::ExtractKeys ( FlowEntry flow,
FlowMgmtKeyTree tree 
)
virtual

Implements FlowMgmtTree.

Definition at line 246 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

◆ ExtractKeys() [2/2]

void AclFlowMgmtTree::ExtractKeys ( FlowEntry flow,
FlowMgmtKeyTree tree,
const MatchAclParamsList acl_list 
)

Definition at line 236 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

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