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