Go to the documentation of this file.
24 #ifndef SURICATA_UTIL_PREFILTER_H
25 #define SURICATA_UTIL_PREFILTER_H
46 #define PMQ_RESET(pmq) (pmq)->rule_id_array_cnt = 0
61 static inline void PrefilterAddSids(
int PrefilterAddSidsResize(PrefilterRuleStore *pmq, uint32_t new_size)
Add array of Signature IDs to rule ID array.
uint32_t rule_id_array_cnt
structure for storing potential rule matches
void PmqFree(PrefilterRuleStore *)
Cleanup and free a Pmq.
struct PrefilterRuleStore_ PrefilterRuleStore
structure for storing potential rule matches
void PmqReset(PrefilterRuleStore *)
Reset a Pmq for reusage. Meant to be called after a single search.
uint32_t rule_id_array_size
int PmqSetup(PrefilterRuleStore *)
Setup a pmq.
void PmqCleanup(PrefilterRuleStore *)
Cleanup a Pmq.