31static bool time_set =
false;
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 DecodeRegisterPerfCounters(DecodeThreadVars *dtv, ThreadVars *tv)
void PacketDecodeFinalize(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p)
Finalize decoding of a packet.
DecodeThreadVars * DecodeThreadVarsAlloc(ThreadVars *tv)
Alloc and setup DecodeThreadVars.
void DecodeThreadVarsFree(ThreadVars *tv, DecodeThreadVars *dtv)
void DecodeUpdatePacketCounters(ThreadVars *tv, const DecodeThreadVars *dtv, const Packet *p)
void TmModuleDecodeLibRegister(void)
register a "Decode" module for suricata as a library.
Structure to hold thread specific data for all decode modules.
Per thread variable structure.
TmEcode(* ThreadDeinit)(ThreadVars *, void *)
void(* ThreadExitPrintStats)(ThreadVars *, void *)
TmEcode(* Func)(ThreadVars *, Packet *, void *)
TmEcode(* ThreadInit)(ThreadVars *, const void *, void **)
TmModule tmm_modules[TMM_SIZE]
#define TM_FLAG_DECODE_TM