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

#include <flow_event.h>

Inheritance diagram for FlowEvent:
Collaboration diagram for FlowEvent:

Public Types

enum  Event {
  INVALID, VROUTER_FLOW_MSG, FLOW_MESSAGE, DELETE_FLOW,
  AUDIT_FLOW, EVICT_FLOW, DELETE_DBENTRY, REVALUATE_DBENTRY,
  RECOMPUTE_FLOW, FREE_FLOW_REF, FREE_DBENTRY, GROW_FREE_LIST,
  KSYNC_EVENT, REENTRANT, UNRESOLVED_FLOW_ENTRY
}
 

Public Member Functions

 FlowEvent ()
 
 FlowEvent (Event event)
 
 FlowEvent (Event event, FlowEntry *flow)
 
 FlowEvent (Event event, uint32_t table_index)
 
 FlowEvent (Event event, FlowEntry *flow, uint32_t flow_handle, uint8_t gen_id)
 
 FlowEvent (Event event, FlowEntry *flow, uint32_t flow_handle, uint8_t gen_id, uint8_t evict_gen_id)
 
 FlowEvent (Event event, FlowEntry *flow, const DBEntry *db_entry)
 
 FlowEvent (Event event, const DBEntry *db_entry, uint32_t gen_id)
 
 FlowEvent (Event event, uint16_t table_index, const DBEntry *db_entry, uint32_t gen_id)
 
 FlowEvent (Event event, const FlowKey &key)
 
 FlowEvent (Event event, const FlowKey &key, uint32_t flow_handle, uint8_t gen_id)
 
 FlowEvent (Event event, PktInfoPtr pkt_info, FlowEntry *flow, uint32_t table_index)
 
 FlowEvent (const FlowEvent &rhs)
 
virtual ~FlowEvent ()
 
Event event () const
 
FlowEntryflow () const
 
FlowEntryPtrflow_ref ()
 
void set_flow (FlowEntry *flow)
 
const DBEntrydb_entry () const
 
void set_db_entry (const DBEntry *db_entry)
 
uint32_t gen_id () const
 
uint32_t evict_gen_id () const
 
const FlowKeyget_flow_key () const
 
PktInfoPtr pkt_info () const
 
uint32_t flow_handle () const
 
uint32_t table_index () const
 

Private Attributes

Event event_
 
FlowEntryPtr flow_
 
PktInfoPtr pkt_info_
 
const DBEntrydb_entry_
 
uint32_t gen_id_
 
uint32_t evict_gen_id_
 
FlowKey flow_key_
 
uint32_t flow_handle_
 
uint32_t table_index_
 

Detailed Description

Definition at line 16 of file flow_event.h.

Member Enumeration Documentation

Enumerator
INVALID 
VROUTER_FLOW_MSG 
FLOW_MESSAGE 
DELETE_FLOW 
AUDIT_FLOW 
EVICT_FLOW 
DELETE_DBENTRY 
REVALUATE_DBENTRY 
RECOMPUTE_FLOW 
FREE_FLOW_REF 
FREE_DBENTRY 
GROW_FREE_LIST 
KSYNC_EVENT 
REENTRANT 
UNRESOLVED_FLOW_ENTRY 

Definition at line 18 of file flow_event.h.

Constructor & Destructor Documentation

FlowEvent::FlowEvent ( )
inline

Definition at line 61 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event)
inline

Definition at line 67 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
FlowEntry flow 
)
inline

Definition at line 72 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
uint32_t  table_index 
)
inline

Definition at line 77 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
FlowEntry flow,
uint32_t  flow_handle,
uint8_t  gen_id 
)
inline

Definition at line 83 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
FlowEntry flow,
uint32_t  flow_handle,
uint8_t  gen_id,
uint8_t  evict_gen_id 
)
inline

Definition at line 90 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
FlowEntry flow,
const DBEntry db_entry 
)
inline

Definition at line 97 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
const DBEntry db_entry,
uint32_t  gen_id 
)
inline

Definition at line 103 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
uint16_t  table_index,
const DBEntry db_entry,
uint32_t  gen_id 
)
inline

Definition at line 109 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
const FlowKey key 
)
inline

Definition at line 116 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
const FlowKey key,
uint32_t  flow_handle,
uint8_t  gen_id 
)
inline

Definition at line 122 of file flow_event.h.

FlowEvent::FlowEvent ( Event  event,
PktInfoPtr  pkt_info,
FlowEntry flow,
uint32_t  table_index 
)
inline

Definition at line 129 of file flow_event.h.

FlowEvent::FlowEvent ( const FlowEvent rhs)
inline

Definition at line 136 of file flow_event.h.

virtual FlowEvent::~FlowEvent ( )
inlinevirtual

Definition at line 143 of file flow_event.h.

Member Function Documentation

const DBEntry* FlowEvent::db_entry ( ) const
inline

Definition at line 150 of file flow_event.h.

Event FlowEvent::event ( ) const
inline

Definition at line 146 of file flow_event.h.

uint32_t FlowEvent::evict_gen_id ( ) const
inline

Definition at line 153 of file flow_event.h.

FlowEntry* FlowEvent::flow ( ) const
inline

Definition at line 147 of file flow_event.h.

uint32_t FlowEvent::flow_handle ( ) const
inline

Definition at line 156 of file flow_event.h.

FlowEntryPtr& FlowEvent::flow_ref ( )
inline

Definition at line 148 of file flow_event.h.

uint32_t FlowEvent::gen_id ( ) const
inline

Definition at line 152 of file flow_event.h.

const FlowKey& FlowEvent::get_flow_key ( ) const
inline

Definition at line 154 of file flow_event.h.

PktInfoPtr FlowEvent::pkt_info ( ) const
inline

Definition at line 155 of file flow_event.h.

void FlowEvent::set_db_entry ( const DBEntry db_entry)
inline

Definition at line 151 of file flow_event.h.

Here is the call graph for this function:

void FlowEvent::set_flow ( FlowEntry flow)
inline

Definition at line 149 of file flow_event.h.

Here is the call graph for this function:

uint32_t FlowEvent::table_index ( ) const
inline

Definition at line 157 of file flow_event.h.

Member Data Documentation

const DBEntry* FlowEvent::db_entry_
private

Definition at line 162 of file flow_event.h.

Event FlowEvent::event_
private

Definition at line 159 of file flow_event.h.

uint32_t FlowEvent::evict_gen_id_
private

Definition at line 164 of file flow_event.h.

FlowEntryPtr FlowEvent::flow_
private

Definition at line 160 of file flow_event.h.

uint32_t FlowEvent::flow_handle_
private

Definition at line 166 of file flow_event.h.

FlowKey FlowEvent::flow_key_
private

Definition at line 165 of file flow_event.h.

uint32_t FlowEvent::gen_id_
private

Definition at line 163 of file flow_event.h.

PktInfoPtr FlowEvent::pkt_info_
private

Definition at line 161 of file flow_event.h.

uint32_t FlowEvent::table_index_
private

Definition at line 167 of file flow_event.h.


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