#include <ksync_flow_memory.h>
|
| | KSyncFlowMemory (KSync *ksync, uint32_t minor_id) |
| |
| virtual | ~KSyncFlowMemory () |
| |
| virtual void | Init () |
| |
| const vr_flow_entry * | GetKernelFlowEntry (uint32_t idx, bool ignore_active_status) const |
| |
| const vr_flow_entry * | GetValidKFlowEntry (const FlowKey &key, uint32_t idx, uint8_t gen_id) const |
| |
| const vr_flow_entry * | GetKFlowStats (const FlowKey &key, uint32_t idx, uint8_t gen_id, vr_flow_stats *stats) const |
| |
| const vr_flow_entry * | GetKFlowStatsAndInfo (const FlowKey &key, uint32_t idx, uint8_t gen_id, vr_flow_stats *stats, KFlowData *info) const |
| |
| bool | GetFlowKey (uint32_t index, FlowKey *key, bool *is_nat_flow) |
| |
| bool | IsEvictionMarked (const vr_flow_entry *entry, uint16_t flags) const |
| |
| virtual int | get_entry_size () |
| |
| virtual bool | IsInactiveEntry (uint32_t idx, uint8_t &gen_id) |
| |
| virtual void | SetTableSize () |
| |
| virtual int | EncodeReq (nl_client *nl, uint32_t attr_len) |
| |
| virtual void | CreateProtoAuditEntry (uint32_t index, uint8_t gen_id) |
| |
| virtual void | InitTest () |
| |
| virtual void | Shutdown () |
| |
| void | DecrementHoldFlowCounter () |
| |
| void | IncrementHoldFlowCounter () |
| |
| void | UpdateAgentHoldFlowCounter () |
| |
| | KSyncMemory (KSync *ksync, uint32_t minor_id) |
| |
| virtual | ~KSyncMemory () |
| |
| void | InitMem (void *hpmem) |
| |
| bool | AuditProcess () |
| |
| void | MapSharedMemory () |
| |
| void | GetTableSize () |
| |
| int | GetKernelTableSize () |
| |
| void | UnmapMemTest () |
| |
| KSync * | ksync () const |
| |
| void | set_major_devid (int id) |
| |
| void | set_table_size (int count) |
| |
| void | set_table_path (const std::string &path) |
| |
| uint32_t | audit_timeout () const |
| |
| void | Mmap (bool unlink, void *khpmem, bool kernel_mode) |
| |
| uint32_t | table_entries_count () |
| |
Definition at line 22 of file ksync_flow_memory.h.
◆ KSyncFlowMemory()
| KSyncFlowMemory::KSyncFlowMemory |
( |
KSync * |
ksync, |
|
|
uint32_t |
minor_id |
|
) |
| |
◆ ~KSyncFlowMemory()
| virtual KSyncFlowMemory::~KSyncFlowMemory |
( |
| ) |
|
|
inlinevirtual |
◆ CreateProtoAuditEntry()
| void KSyncFlowMemory::CreateProtoAuditEntry |
( |
uint32_t |
index, |
|
|
uint8_t |
gen_id |
|
) |
| |
|
virtual |
◆ DecrementHoldFlowCounter()
| void KSyncFlowMemory::DecrementHoldFlowCounter |
( |
| ) |
|
|
virtual |
◆ EncodeReq()
| int KSyncFlowMemory::EncodeReq |
( |
nl_client * |
nl, |
|
|
uint32_t |
attr_len |
|
) |
| |
|
virtual |
◆ get_entry_size()
| int KSyncFlowMemory::get_entry_size |
( |
| ) |
|
|
virtual |
◆ GetFlowKey()
| bool KSyncFlowMemory::GetFlowKey |
( |
uint32_t |
index, |
|
|
FlowKey * |
key, |
|
|
bool * |
is_nat_flow |
|
) |
| |
◆ GetKernelFlowEntry()
| const vr_flow_entry * KSyncFlowMemory::GetKernelFlowEntry |
( |
uint32_t |
idx, |
|
|
bool |
ignore_active_status |
|
) |
| const |
◆ GetKFlowStats()
| const vr_flow_entry * KSyncFlowMemory::GetKFlowStats |
( |
const FlowKey & |
key, |
|
|
uint32_t |
idx, |
|
|
uint8_t |
gen_id, |
|
|
vr_flow_stats * |
stats |
|
) |
| const |
◆ GetKFlowStatsAndInfo()
| const vr_flow_entry * KSyncFlowMemory::GetKFlowStatsAndInfo |
( |
const FlowKey & |
key, |
|
|
uint32_t |
idx, |
|
|
uint8_t |
gen_id, |
|
|
vr_flow_stats * |
stats, |
|
|
KFlowData * |
info |
|
) |
| const |
◆ GetValidKFlowEntry()
| const vr_flow_entry * KSyncFlowMemory::GetValidKFlowEntry |
( |
const FlowKey & |
key, |
|
|
uint32_t |
idx, |
|
|
uint8_t |
gen_id |
|
) |
| const |
◆ IncrementHoldFlowCounter()
| void KSyncFlowMemory::IncrementHoldFlowCounter |
( |
| ) |
|
|
virtual |
◆ Init()
| void KSyncFlowMemory::Init |
( |
| ) |
|
|
virtual |
◆ InitTest()
| void KSyncFlowMemory::InitTest |
( |
| ) |
|
|
virtual |
◆ IsEvictionMarked()
| bool KSyncFlowMemory::IsEvictionMarked |
( |
const vr_flow_entry * |
entry, |
|
|
uint16_t |
flags |
|
) |
| const |
◆ IsInactiveEntry()
| bool KSyncFlowMemory::IsInactiveEntry |
( |
uint32_t |
idx, |
|
|
uint8_t & |
gen_id |
|
) |
| |
|
virtual |
◆ KFlow2FlowKey()
| void KSyncFlowMemory::KFlow2FlowKey |
( |
const vr_flow_entry * |
entry, |
|
|
FlowKey * |
key |
|
) |
| const |
|
private |
◆ ReadFlowInfo()
| void KSyncFlowMemory::ReadFlowInfo |
( |
const vr_flow_entry * |
k_flow, |
|
|
vr_flow_stats * |
stats, |
|
|
KFlowData * |
info |
|
) |
| const |
|
private |
◆ SetTableSize()
| void KSyncFlowMemory::SetTableSize |
( |
| ) |
|
|
virtual |
◆ Shutdown()
| void KSyncFlowMemory::Shutdown |
( |
void |
| ) |
|
|
virtual |
◆ UpdateAgentHoldFlowCounter()
| void KSyncFlowMemory::UpdateAgentHoldFlowCounter |
( |
| ) |
|
|
virtual |
◆ VrFlowToIp()
| void KSyncFlowMemory::VrFlowToIp |
( |
const vr_flow_entry * |
kflow, |
|
|
IpAddress * |
sip, |
|
|
IpAddress * |
dip |
|
) |
| |
|
static |
◆ flow_table_
| const vr_flow_entry* KSyncFlowMemory::flow_table_ |
|
private |
◆ hold_flow_counter_
| uint32_t KSyncFlowMemory::hold_flow_counter_ |
|
private |
The documentation for this class was generated from the following files: