FlowBucket_ Struct Reference

#include <flow-hash.h>

Collaboration diagram for FlowBucket_:

Public Member Functions

 SC_ATOMIC_DECLARE (int32_t, next_ts)

Data Fields

SCMutex m

Detailed Description

Definition at line 41 of file flow-hash.h.

Member Function Documentation


FlowBucket_::SC_ATOMIC_DECLARE ( int32_t  ,

timestamp in seconds of the earliest possible moment a flow will time out in this row. Set by the flow manager. Cleared to 0 by workers, either when new flows are added or when a flow state changes. The flow manager sets this to INT_MAX for empty buckets.

Field Documentation

◆ evicted

Flow* FlowBucket_::evicted

head of the list of evicted flows for this row. Waiting to be collected by the Flow Manager.

Definition at line 46 of file flow-hash.h.

◆ head

Flow* FlowBucket_::head

head of the list of active flows for this row.

Definition at line 43 of file flow-hash.h.

◆ m

SCMutex FlowBucket_::m

Definition at line 48 of file flow-hash.h.

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