void StatsIncr(ThreadVars *tv, uint16_t id)
Increments the local counter.
#define PKT_IS_PSEUDOPKT(p)
return 1 if the packet is a pseudo packet
void PacketDecodeFinalize(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p)
Finalize decoding of a packet.
TmEcode(* ThreadDeinit)(ThreadVars *, void *)
void DecodeRegisterPerfCounters(DecodeThreadVars *dtv, ThreadVars *tv)
Per thread variable structure.
TmEcode(* Func)(ThreadVars *, Packet *, void *)
#define TM_FLAG_DECODE_TM
TmModule tmm_modules[TMM_SIZE]
void DecodeThreadVarsFree(ThreadVars *tv, DecodeThreadVars *dtv)
TmEcode(* ThreadInit)(ThreadVars *, const void *, void **)
void(* ThreadExitPrintStats)(ThreadVars *, void *)
Structure to hold thread specific data for all decode modules.
DecodeThreadVars * DecodeThreadVarsAlloc(ThreadVars *tv)
Alloc and setup DecodeThreadVars.
void TmModuleDecodeLibRegister(void)
register a "Decode" module for suricata as a library.
void DecodeUpdatePacketCounters(ThreadVars *tv, const DecodeThreadVars *dtv, const Packet *p)