suricata
PktPoolLockedStack_ Struct Reference

#include <tmqh-packetpool.h>

Collaboration diagram for PktPoolLockedStack_:

Public Member Functions

 SC_ATOMIC_DECLARE (uint32_t, return_threshold)
 

Data Fields

SCMutex mutex
 
SCCondT cond
 
uint32_t cnt
 
Packethead
 

Detailed Description

Definition at line 31 of file tmqh-packetpool.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE()

PktPoolLockedStack_::SC_ATOMIC_DECLARE ( uint32_t  ,
return_threshold   
)

number of packets in needed to trigger a sync during the return to pool logic. Updated by pool owner based on how full the pool is.

Field Documentation

◆ cnt

uint32_t PktPoolLockedStack_::cnt

Definition at line 39 of file tmqh-packetpool.h.

◆ cond

SCCondT PktPoolLockedStack_::cond

Definition at line 34 of file tmqh-packetpool.h.

◆ head

Packet* PktPoolLockedStack_::head

Definition at line 40 of file tmqh-packetpool.h.

◆ mutex

SCMutex PktPoolLockedStack_::mutex

Definition at line 33 of file tmqh-packetpool.h.


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