Go to the documentation of this file.
27 #ifndef SURICATA_DETECT_ENGINE_TAG_H
28 #define SURICATA_DETECT_ENGINE_TAG_H
37 #define TAG_MAX_LAST_TIME_SEEN 600
int TagHostHasTag(Host *host)
main detection engine ctx
int TagTimeoutCheck(Host *, SCTime_t)
Removes the entries exceeding the max timeout value.
void TagHandlePacket(DetectEngineCtx *, DetectEngineThreadCtx *, Packet *)
Search tags for src and dst. Update entries of the tag, remove if necessary.
int TagFlowAdd(Packet *, DetectTagDataEntry *)
This function is used to add a tag to a session (type session) or update it if it's already installed...
int TagHashAddTag(DetectTagDataEntry *, Packet *)
Add a tag entry for a host. If it already exist, update it.
void DetectEngineTagRegisterTests(void)
this function registers unit tests for DetectTag
void TagDestroyCtx(void)
Destroy tag context hash tables.