suricata
PacketQueue_ Struct Reference

simple fifo queue for packets with mutex and cond Calling the mutex or triggering the cond is responsibility of the caller More...

#include <packet-queue.h>

Collaboration diagram for PacketQueue_:

Data Fields

struct Packet_top
 
struct Packet_bot
 
uint32_t len
 
SCMutex mutex_q
 
SCCondT cond_q
 

Detailed Description

simple fifo queue for packets with mutex and cond Calling the mutex or triggering the cond is responsibility of the caller

Note
PacketQueueNoLock and PacketQueue need to keep identical layouts except for the mutex_q and cond_q fields.

Definition at line 49 of file packet-queue.h.

Field Documentation

◆ bot

struct Packet_* PacketQueue_::bot

Definition at line 51 of file packet-queue.h.

◆ cond_q

◆ len

uint32_t PacketQueue_::len

Definition at line 52 of file packet-queue.h.

Referenced by TmqDebugList(), TmqhInputFlow(), and TmqhInputSimple().

◆ mutex_q

◆ top

struct Packet_* PacketQueue_::top

Definition at line 50 of file packet-queue.h.


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