OpenSDN source code
|
#include <flow_mgmt_entry.h>
Public Types | |
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 |
Public Member Functions | |
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) |
virtual bool | CanDelete () const |
void | set_oper_state (State state) |
State | oper_state () const |
uint32_t | gen_id () const |
const FlowList & | flow_list () const |
Static Public Attributes | |
static const int | MaxResponses = 100 |
Protected Attributes | |
State | oper_state_ |
uint32_t | gen_id_ |
FlowList | flow_list_ |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (FlowMgmtEntry) | |
Definition at line 30 of file flow_mgmt_entry.h.
typedef boost::intrusive::list<FlowMgmtKeyNode, Node> FlowMgmtEntry::FlowList |
Definition at line 43 of file flow_mgmt_entry.h.
typedef boost::intrusive::member_hook<FlowMgmtKeyNode, boost::intrusive::list_member_hook<>, &FlowMgmtKeyNode::hook_> FlowMgmtEntry::Node |
Definition at line 42 of file flow_mgmt_entry.h.
enum FlowMgmtEntry::State |
Enumerator | |
---|---|
INVALID | |
OPER_NOT_SEEN | |
OPER_ADD_SEEN | |
OPER_DEL_SEEN |
Definition at line 33 of file flow_mgmt_entry.h.
|
inline |
Definition at line 47 of file flow_mgmt_entry.h.
|
inlinevirtual |
Definition at line 49 of file flow_mgmt_entry.h.
|
virtual |
Reimplemented in InterfaceFlowMgmtEntry.
Definition at line 10 of file flow_mgmt_entry.cc.
|
virtual |
Reimplemented in VrfFlowMgmtEntry.
Definition at line 26 of file flow_mgmt_entry.cc.
|
virtual |
Reimplemented in InterfaceFlowMgmtEntry.
Definition at line 18 of file flow_mgmt_entry.cc.
|
private |
|
inline |
Definition at line 77 of file flow_mgmt_entry.h.
|
inline |
Definition at line 76 of file flow_mgmt_entry.h.
|
inlinevirtual |
Reimplemented in BgpAsAServiceFlowMgmtEntry.
Definition at line 68 of file flow_mgmt_entry.h.
|
inline |
Definition at line 75 of file flow_mgmt_entry.h.
|
virtual |
|
virtual |
|
virtual |
|
inline |
Definition at line 74 of file flow_mgmt_entry.h.
|
inline |
Definition at line 53 of file flow_mgmt_entry.h.
|
protected |
Definition at line 83 of file flow_mgmt_entry.h.
|
protected |
Definition at line 82 of file flow_mgmt_entry.h.
|
static |
Definition at line 45 of file flow_mgmt_entry.h.
|
protected |
Definition at line 81 of file flow_mgmt_entry.h.