suricata
|
#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 "util-validate.h"
Go to the source code of this file.
Functions | |
void | PacketEnqueueNoLock (PacketQueueNoLock *qnl, Packet *p) |
void | PacketEnqueue (PacketQueue *q, Packet *p) |
Packet * | PacketDequeueNoLock (PacketQueueNoLock *qnl) |
Packet * | PacketDequeue (PacketQueue *q) |
PacketQueue * | PacketQueueAlloc (void) |
void | PacketQueueFree (PacketQueue *pq) |
Packet Queue portion of the engine.
Definition in file packet-queue.c.
Packet* PacketDequeue | ( | PacketQueue * | q | ) |
Definition at line 216 of file packet-queue.c.
Referenced by TmqhInputFlow(), TmqhInputSimple(), and TmqhReleasePacketsToPacketPool().
Packet* PacketDequeueNoLock | ( | PacketQueueNoLock * | qnl | ) |
Definition at line 208 of file packet-queue.c.
Referenced by TmThreadsProcessDecodePseudoPackets().
void PacketEnqueue | ( | PacketQueue * | q, |
Packet * | p | ||
) |
Definition at line 175 of file packet-queue.c.
Referenced by TmqhOutputFlowHash(), TmqhOutputFlowIPPair(), and TmqhOutputSimple().
void PacketEnqueueNoLock | ( | PacketQueueNoLock * | qnl, |
Packet * | p | ||
) |
Definition at line 168 of file packet-queue.c.
References DEBUG_VALIDATE_BUG_ON, and Packet_::pkt_src.
PacketQueue* PacketQueueAlloc | ( | void | ) |
Definition at line 221 of file packet-queue.c.
References PacketQueue_::cond_q, PacketQueue_::mutex_q, SCCalloc, SCCondInit, and SCMutexInit.
void PacketQueueFree | ( | PacketQueue * | pq | ) |
Definition at line 231 of file packet-queue.c.
References PacketQueue_::cond_q, PacketQueue_::mutex_q, SCCondDestroy, SCFree, and SCMutexDestroy.
Referenced by TmqResetQueues().