#include <flowtable_ksync.h>
|
| FlowTableKSyncObject (KSync *ksync) |
|
| FlowTableKSyncObject (KSync *ksync, int max_index) |
|
virtual | ~FlowTableKSyncObject () |
|
void | Init () |
|
void | Shutdown () |
|
KSyncEntry * | Alloc (const KSyncEntry *key, uint32_t index) |
|
void | Free (KSyncEntry *key) |
|
bool | DoEventTrace (void) |
|
FlowTableKSyncEntry * | Find (FlowEntry *key) |
|
vr_flow_req & | flow_req () |
|
KSync * | ksync () const |
|
void | set_flow_table (FlowTable *table) |
|
FlowTable * | flow_table () const |
|
void | UpdateFlowHandle (FlowTableKSyncEntry *entry, uint32_t flow_handle) |
|
void | UpdateKey (KSyncEntry *entry, uint32_t flow_handle) |
|
uint32_t | GetKey (KSyncEntry *entry) |
|
void | GrowFreeList () |
|
KSyncFlowEntryFreeList * | free_list () |
|
void | NetlinkAck (KSyncEntry *entry, KSyncEntry::KSyncEvent event) |
|
void | GenerateKSyncEvent (FlowTableKSyncEntry *entry, KSyncEntry::KSyncEvent event) |
|
void | StartTimer () |
|
bool | TimerExpiry () |
|
void | UpdateUnresolvedFlowEntry (FlowEntryPtr flowptr) |
|
| KSyncObject (const std::string &name) |
|
| KSyncObject (const std::string &name, int max_index) |
|
virtual | ~KSyncObject () |
|
void | InitStaleEntryCleanup (boost::asio::io_context &ios, uint32_t cleanup_time, uint32_t cleanup_intvl, uint16_t entries_per_intvl) |
|
void | NotifyEvent (KSyncEntry *entry, KSyncEntry::KSyncEvent event) |
|
void | SafeNotifyEvent (KSyncEntry *entry, KSyncEntry::KSyncEvent event) |
|
void | BackRefAdd (KSyncEntry *key, KSyncEntry *reference) |
|
void | BackRefDel (KSyncEntry *key) |
|
void | BackRefReEval (KSyncEntry *key) |
|
KSyncEntry * | Create (const KSyncEntry *key) |
|
KSyncEntry * | Create (const KSyncEntry *key, bool skip_lookup) |
|
KSyncEntry * | CreateStale (const KSyncEntry *key) |
|
void | Change (KSyncEntry *entry) |
|
void | Delete (KSyncEntry *entry) |
|
KSyncEntry * | Find (const KSyncEntry *key) |
|
KSyncEntry * | Next (const KSyncEntry *entry) const |
|
KSyncEntry * | GetReference (const KSyncEntry *key) |
|
virtual void | EmptyTable (void) |
|
bool | IsEmpty (void) |
|
virtual void | PreFree (KSyncEntry *entry) |
|
std::size_t | Size () |
|
void | set_delete_scheduled () |
|
bool | delete_scheduled () |
|
virtual SandeshTraceBufferPtr | GetKSyncTraceBuf () |
|
|
typedef
boost::intrusive::member_hook
< KSyncEntry,
boost::intrusive::set_member_hook
<>,&KSyncEntry::node_ > | KSyncObjectNode |
|
typedef boost::intrusive::set
< KSyncEntry, KSyncObjectNode > | Tree |
|
typedef
boost::intrusive::member_hook
< KSyncFwdReference,
boost::intrusive::set_member_hook
<>,&KSyncFwdReference::node_ > | KSyncFwdRefNode |
|
typedef boost::intrusive::set
< KSyncFwdReference,
KSyncFwdRefNode > | FwdRefTree |
|
typedef
boost::intrusive::member_hook
< KSyncBackReference,
boost::intrusive::set_member_hook
<>,&KSyncBackReference::node_ > | KSyncBackRefNode |
|
typedef boost::intrusive::set
< KSyncBackReference,
KSyncBackRefNode > | BackRefTree |
|
static void | Shutdown () |
|
KSyncEntry * | CreateImpl (const KSyncEntry *key) |
|
void | ClearStale (KSyncEntry *entry) |
|
void | ChangeKey (KSyncEntry *entry, uint32_t arg) |
|
tbb::recursive_mutex | lock_ |
|
Definition at line 212 of file flowtable_ksync.h.
FlowTableKSyncObject::FlowTableKSyncObject |
( |
KSync * |
ksync | ) |
|
FlowTableKSyncObject::FlowTableKSyncObject |
( |
KSync * |
ksync, |
|
|
int |
max_index |
|
) |
| |
FlowTableKSyncObject::~FlowTableKSyncObject |
( |
| ) |
|
|
virtual |
bool FlowTableKSyncObject::DoEventTrace |
( |
void |
| ) |
|
|
inlinevirtual |
vr_flow_req& FlowTableKSyncObject::flow_req |
( |
| ) |
|
|
inline |
FlowTable* FlowTableKSyncObject::flow_table |
( |
| ) |
const |
|
inline |
void FlowTableKSyncObject::Free |
( |
KSyncEntry * |
key | ) |
|
|
virtual |
uint32_t FlowTableKSyncObject::GetKey |
( |
KSyncEntry * |
entry | ) |
|
|
virtual |
void FlowTableKSyncObject::GrowFreeList |
( |
| ) |
|
void FlowTableKSyncObject::Init |
( |
| ) |
|
KSync* FlowTableKSyncObject::ksync |
( |
| ) |
const |
|
inline |
void FlowTableKSyncObject::set_flow_table |
( |
FlowTable * |
table | ) |
|
|
inline |
void FlowTableKSyncObject::Shutdown |
( |
void |
| ) |
|
|
inline |
void FlowTableKSyncObject::StartTimer |
( |
| ) |
|
bool FlowTableKSyncObject::TimerExpiry |
( |
| ) |
|
void FlowTableKSyncObject::UpdateFlowHandle |
( |
FlowTableKSyncEntry * |
entry, |
|
|
uint32_t |
flow_handle |
|
) |
| |
void FlowTableKSyncObject::UpdateKey |
( |
KSyncEntry * |
entry, |
|
|
uint32_t |
flow_handle |
|
) |
| |
|
virtual |
void FlowTableKSyncObject::UpdateUnresolvedFlowEntry |
( |
FlowEntryPtr |
flowptr | ) |
|
vr_flow_req FlowTableKSyncObject::flow_req_ |
|
private |
const uint32_t FlowTableKSyncObject::kFlowDepSyncTimeout = 1000 |
|
static |
const uint32_t FlowTableKSyncObject::KFlowUnresolvedListYield = 32 |
|
static |
KSync* FlowTableKSyncObject::ksync_ |
|
private |
Timer* FlowTableKSyncObject::timer_ |
|
private |
std::list<FlowEntryPtr> FlowTableKSyncObject::unresolved_flow_list_ |
|
private |
The documentation for this class was generated from the following files: