24#ifndef SURICATA_DETECT_ENGINE_ALERT_H
25#define SURICATA_DETECT_ENGINE_ALERT_H
void AlertQueueAppend(DetectEngineThreadCtx *det_ctx, const Signature *s, Packet *p, uint64_t tx_id, uint8_t alert_flags)
Append signature to local packet alert queue for later preprocessing.
void PacketAlertTagInit(void)
void PacketAlertFinalize(const DetectEngineCtx *, DetectEngineThreadCtx *, Packet *)
Check the threshold of the sigs that match, set actions, break on pass action This function iterate t...
void AlertQueueInit(DetectEngineThreadCtx *det_ctx)
void AlertQueueFree(DetectEngineThreadCtx *det_ctx)
void DetectEngineAlertRegisterTests(void)
Registers Detect Engine Alert unit tests.
int PacketAlertCheck(Packet *, uint32_t)
Check if a certain sid alerted, this is used in the test functions.
main detection engine ctx