24#ifndef SURICATA_TMQH_PACKETPOOL_H
25#define SURICATA_TMQH_PACKETPOOL_H
60#ifdef DEBUG_VALIDATION
struct PrefilterEngineFlowbits __attribute__
DNP3 application header.
simple fifo queue for packets with mutex and cond Calling the mutex or triggering the cond is respons...
SC_ATOMIC_DECLARE(uint32_t, return_threshold)
PktPoolLockedStack return_stack
struct PktPool_ * pending_pool
Per thread variable structure.
void PacketPoolWait(void)
void PacketPoolDestroy(void)
Packet * PacketPoolGetPacket(void)
Get a new packet from the packet pool.
void PacketPoolInit(void)
void TmqhPacketpoolRegister(void)
TmqhPacketpoolRegister \initonly.
Packet * TmqhInputPacketpool(ThreadVars *)
void TmqhReleasePacketsToPacketPool(PacketQueue *)
Release all the packets in the queue back to the packetpool. Mainly used by threads that have failed,...
void PacketPoolPostRunmodes(void)
Set the max_pending_return_packets value.
void TmqhOutputPacketpool(ThreadVars *, Packet *)
void PacketPoolReturnPacket(Packet *p)
Return packet to Packet pool.