suricata
THashTableContext_ Struct Reference

#include <util-thash.h>

Collaboration diagram for THashTableContext_:

Public Member Functions

 SC_ATOMIC_DECLARE (uint64_t, memuse)
 
 SC_ATOMIC_DECLARE (uint32_t, counter)
 
 SC_ATOMIC_DECLARE (uint32_t, prune_idx)
 
 SC_ATOMIC_DECLARE (bool, memcap_reached)
 

Data Fields

THashHashRow * array
 
THashDataQueue spare_q
 
THashConfig config
 

Detailed Description

Definition at line 141 of file util-thash.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE() [1/4]

THashTableContext_::SC_ATOMIC_DECLARE ( bool  ,
memcap_reached   
)

◆ SC_ATOMIC_DECLARE() [2/4]

THashTableContext_::SC_ATOMIC_DECLARE ( uint32_t  ,
counter   
)

◆ SC_ATOMIC_DECLARE() [3/4]

THashTableContext_::SC_ATOMIC_DECLARE ( uint32_t  ,
prune_idx   
)

◆ SC_ATOMIC_DECLARE() [4/4]

THashTableContext_::SC_ATOMIC_DECLARE ( uint64_t  ,
memuse   
)

Field Documentation

◆ array

THashHashRow* THashTableContext_::array

Definition at line 143 of file util-thash.h.

◆ config

THashConfig THashTableContext_::config

Definition at line 151 of file util-thash.h.

Referenced by HTPByteRangeMemcapGlobalCounter(), and HTPByteRangeSetMemcap().

◆ spare_q

THashDataQueue THashTableContext_::spare_q

Definition at line 149 of file util-thash.h.


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