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

◆ head

Flow* FlowBucket_::head

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

Referenced by FlowGetFromFlowKey().

◆ m

SCMutex FlowBucket_::m

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

◆ tail

Flow* FlowBucket_::tail

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

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