Go to the documentation of this file.
25 #ifndef __DETECT_ENGINE_THRESHOLD_H__
26 #define __DETECT_ENGINE_THRESHOLD_H__
int ThresholdHostTimeoutCheck(Host *, SCTime_t)
void ThresholdHashAllocate(DetectEngineCtx *)
Allocate threshold context hash tables.
main detection engine ctx
int ThresholdIPPairTimeoutCheck(IPPair *, SCTime_t)
int ThresholdHostHasThreshold(Host *)
void ThresholdHashInit(DetectEngineCtx *)
Init threshold context hash tables.
int ThresholdIPPairHasThreshold(IPPair *pair)
HostStorageId ThresholdHostStorageId(void)
void ThresholdListFree(void *ptr)
this function will free all the entries of a list DetectTagDataEntry
int PacketAlertThreshold(DetectEngineCtx *, DetectEngineThreadCtx *, const DetectThresholdData *, Packet *, const Signature *, PacketAlert *)
Make the threshold logic for signatures.
const DetectThresholdData * SigGetThresholdTypeIter(const Signature *, const SigMatchData **, int list)
Return next DetectThresholdData for signature.
void ThresholdContextDestroy(DetectEngineCtx *)
Destroy threshold context hash tables.