#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 |
( |
KSync * |
ksync, |
|
|
uint32_t |
minor_id |
|
) |
| |
virtual KSyncFlowMemory::~KSyncFlowMemory |
( |
| ) |
|
|
inlinevirtual |
void KSyncFlowMemory::CreateProtoAuditEntry |
( |
uint32_t |
index, |
|
|
uint8_t |
gen_id |
|
) |
| |
|
virtual |
void KSyncFlowMemory::DecrementHoldFlowCounter |
( |
| ) |
|
|
virtual |
int KSyncFlowMemory::EncodeReq |
( |
nl_client * |
nl, |
|
|
uint32_t |
attr_len |
|
) |
| |
|
virtual |
int KSyncFlowMemory::get_entry_size |
( |
| ) |
|
|
virtual |
bool KSyncFlowMemory::GetFlowKey |
( |
uint32_t |
index, |
|
|
FlowKey * |
key, |
|
|
bool * |
is_nat_flow |
|
) |
| |
const vr_flow_entry * KSyncFlowMemory::GetKernelFlowEntry |
( |
uint32_t |
idx, |
|
|
bool |
ignore_active_status |
|
) |
| const |
const vr_flow_entry * KSyncFlowMemory::GetKFlowStats |
( |
const FlowKey & |
key, |
|
|
uint32_t |
idx, |
|
|
uint8_t |
gen_id, |
|
|
vr_flow_stats * |
stats |
|
) |
| const |
const vr_flow_entry * KSyncFlowMemory::GetKFlowStatsAndInfo |
( |
const FlowKey & |
key, |
|
|
uint32_t |
idx, |
|
|
uint8_t |
gen_id, |
|
|
vr_flow_stats * |
stats, |
|
|
KFlowData * |
info |
|
) |
| const |
const vr_flow_entry * KSyncFlowMemory::GetValidKFlowEntry |
( |
const FlowKey & |
key, |
|
|
uint32_t |
idx, |
|
|
uint8_t |
gen_id |
|
) |
| const |
void KSyncFlowMemory::IncrementHoldFlowCounter |
( |
| ) |
|
|
virtual |
void KSyncFlowMemory::Init |
( |
| ) |
|
|
virtual |
void KSyncFlowMemory::InitTest |
( |
| ) |
|
|
virtual |
bool KSyncFlowMemory::IsEvictionMarked |
( |
const vr_flow_entry * |
entry, |
|
|
uint16_t |
flags |
|
) |
| const |
bool KSyncFlowMemory::IsInactiveEntry |
( |
uint32_t |
idx, |
|
|
uint8_t & |
gen_id |
|
) |
| |
|
virtual |
void KSyncFlowMemory::KFlow2FlowKey |
( |
const vr_flow_entry * |
entry, |
|
|
FlowKey * |
key |
|
) |
| const |
|
private |
void KSyncFlowMemory::ReadFlowInfo |
( |
const vr_flow_entry * |
k_flow, |
|
|
vr_flow_stats * |
stats, |
|
|
KFlowData * |
info |
|
) |
| const |
|
private |
void KSyncFlowMemory::SetTableSize |
( |
| ) |
|
|
virtual |
void KSyncFlowMemory::Shutdown |
( |
void |
| ) |
|
|
virtual |
void KSyncFlowMemory::UpdateAgentHoldFlowCounter |
( |
| ) |
|
|
virtual |
void KSyncFlowMemory::VrFlowToIp |
( |
const vr_flow_entry * |
kflow, |
|
|
IpAddress * |
sip, |
|
|
IpAddress * |
dip |
|
) |
| |
|
static |
const vr_flow_entry* KSyncFlowMemory::flow_table_ |
|
private |
uint32_t KSyncFlowMemory::hold_flow_counter_ |
|
private |
The documentation for this class was generated from the following files: