void PacketEnqueue(PacketQueue *q, Packet *p)
simple fifo queue for packets with mutex and cond Calling the mutex or triggering the cond is respons...
void(* OutHandler)(ThreadVars *, Packet *)
void TmqhInputSimpleShutdownHandler(ThreadVars *)
Packet *(* InHandler)(ThreadVars *)
void(* InShutdownHandler)(ThreadVars *)
#define SCMutexUnlock(mut)
Per thread variable structure.
Tmqh tmqh_table[TMQH_SIZE]
Packet * PacketDequeue(PacketQueue *q)
Packet * TmqhInputSimple(ThreadVars *t)
void TmqhSimpleRegister(void)
void StatsSyncCountersIfSignalled(ThreadVars *tv)
void TmqhOutputSimple(ThreadVars *t, Packet *p)