OpenSDN source code
|
#include <ksync_flow_index_manager.h>
Classes | |
struct | IndexEntry |
Public Member Functions | |
KSyncFlowIndexManager (KSync *ksync) | |
virtual | ~KSyncFlowIndexManager () |
void | InitDone (uint32_t count) |
FlowEntryPtr | FindByIndex (uint32_t idx) |
void | Update (FlowEntry *flow) |
void | Delete (FlowEntry *flow) |
void | DisableSend (FlowEntry *flow, uint8_t evict_gen_id) |
void | UpdateFlowHandle (FlowTableKSyncEntry *kentry, uint32_t index, uint8_t gen_id) |
void | TriggerKSyncEvent (FlowTableKSyncEntry *kentry, KSyncEntry::KSyncEvent event) |
uint16_t | sm_log_count () const |
Static Public Attributes | |
static const uint8_t | kActiveGenIdDiffMax = 127 |
Private Member Functions | |
uint8_t | AcquireIndexUnLocked (uint32_t index, uint8_t gen_id, FlowEntry *flow) |
void | ReleaseIndexUnLocked (FlowEntry *flow) |
void | CreateInternal (FlowEntry *flow) |
Private Attributes | |
KSync * | ksync_ |
FlowProto * | proto_ |
uint32_t | count_ |
struct IndexEntry * | index_list_ |
uint16_t | sm_log_count_ |
Definition at line 28 of file ksync_flow_index_manager.h.
KSyncFlowIndexManager::KSyncFlowIndexManager | ( | KSync * | ksync | ) |
Definition at line 24 of file ksync_flow_index_manager.cc.
|
virtual |
Definition at line 28 of file ksync_flow_index_manager.cc.
|
private |
Definition at line 213 of file ksync_flow_index_manager.cc.
|
private |
Definition at line 268 of file ksync_flow_index_manager.cc.
void KSyncFlowIndexManager::Delete | ( | FlowEntry * | flow | ) |
Definition at line 89 of file ksync_flow_index_manager.cc.
void KSyncFlowIndexManager::DisableSend | ( | FlowEntry * | flow, |
uint8_t | evict_gen_id | ||
) |
Definition at line 111 of file ksync_flow_index_manager.cc.
FlowEntryPtr KSyncFlowIndexManager::FindByIndex | ( | uint32_t | idx | ) |
Definition at line 43 of file ksync_flow_index_manager.cc.
void KSyncFlowIndexManager::InitDone | ( | uint32_t | count | ) |
Definition at line 33 of file ksync_flow_index_manager.cc.
|
private |
Definition at line 258 of file ksync_flow_index_manager.cc.
|
inline |
Definition at line 61 of file ksync_flow_index_manager.h.
void KSyncFlowIndexManager::TriggerKSyncEvent | ( | FlowTableKSyncEntry * | kentry, |
KSyncEntry::KSyncEvent | event | ||
) |
Definition at line 200 of file ksync_flow_index_manager.cc.
void KSyncFlowIndexManager::Update | ( | FlowEntry * | flow | ) |
Definition at line 57 of file ksync_flow_index_manager.cc.
void KSyncFlowIndexManager::UpdateFlowHandle | ( | FlowTableKSyncEntry * | kentry, |
uint32_t | index, | ||
uint8_t | gen_id | ||
) |
Definition at line 130 of file ksync_flow_index_manager.cc.
|
private |
Definition at line 72 of file ksync_flow_index_manager.h.
|
private |
Definition at line 73 of file ksync_flow_index_manager.h.
|
static |
Definition at line 32 of file ksync_flow_index_manager.h.
|
private |
Definition at line 70 of file ksync_flow_index_manager.h.
|
private |
Definition at line 71 of file ksync_flow_index_manager.h.
|
private |
Definition at line 74 of file ksync_flow_index_manager.h.