suricata
packet-queue.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "packet-queue.h"
#include "threads.h"
#include "suricata.h"
#include "util-var.h"
#include "pkt-var.h"
Include dependency graph for packet-queue.c:

Go to the source code of this file.

Functions

void PacketEnqueueNoLock (PacketQueueNoLock *qnl, Packet *p)
 
void PacketEnqueue (PacketQueue *q, Packet *p)
 
PacketPacketDequeueNoLock (PacketQueueNoLock *qnl)
 
PacketPacketDequeue (PacketQueue *q)
 
PacketQueuePacketQueueAlloc (void)
 
void PacketQueueFree (PacketQueue *pq)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Packet Queue portion of the engine.

Definition in file packet-queue.c.

Function Documentation

◆ PacketDequeue()

Packet* PacketDequeue ( PacketQueue q)

Definition at line 212 of file packet-queue.c.

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

Here is the caller graph for this function:

◆ PacketDequeueNoLock()

Packet* PacketDequeueNoLock ( PacketQueueNoLock qnl)

Definition at line 206 of file packet-queue.c.

◆ PacketEnqueue()

void PacketEnqueue ( PacketQueue q,
Packet p 
)

Definition at line 173 of file packet-queue.c.

Referenced by TmqhOutputFlowHash(), TmqhOutputFlowIPPair(), and TmqhOutputSimple().

Here is the caller graph for this function:

◆ PacketEnqueueNoLock()

void PacketEnqueueNoLock ( PacketQueueNoLock qnl,
Packet p 
)

Definition at line 167 of file packet-queue.c.

Referenced by DecodeGRE().

Here is the caller graph for this function:

◆ PacketQueueAlloc()

PacketQueue* PacketQueueAlloc ( void  )

◆ PacketQueueFree()

void PacketQueueFree ( PacketQueue pq)

Definition at line 227 of file packet-queue.c.

References PacketQueue_::cond_q, PacketQueue_::mutex_q, SCCondDestroy, SCFree, and SCMutexDestroy.

Referenced by TmqResetQueues().

Here is the caller graph for this function: