24 #ifndef __DETECT_ENGINE_PREFILTER_H__ 25 #define __DETECT_ENGINE_PREFILTER_H__ 40 void *pectx,
void (*
FreeFunc)(
void *pectx),
44 void *pectx,
void (*
FreeFunc)(
void *pectx),
49 const uint64_t idx,
const uint8_t
flags),
50 const AppProto alproto,
const int tx_min_progress,
51 void *pectx,
void (*
FreeFunc)(
void *pectx),
57 const uint8_t ipproto,
58 const uint8_t flow_flags,
void PrefilterCleanupRuleGroup(const DetectEngineCtx *de_ctx, SigGroupHead *sgh)
Container for matching data for a signature group.
const char * PrefilterStoreGetName(const uint32_t id)
int PrefilterAppendPayloadEngine(DetectEngineCtx *de_ctx, SigGroupHead *sgh, void(*Prefilter)(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx), void *pectx, void(*FreeFunc)(void *pectx), const char *name)
main detection engine ctx
struct PrefilterStore_ PrefilterStore
Data structures and function prototypes for keeping state for the detection engine.
one time registration of keywords at start up
int PrefilterGenericMpmRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx, const DetectBufferMpmRegistery *mpm_reg, int list_id)
void PrefilterDeinit(DetectEngineCtx *de_ctx)
void DetectRunPrefilterTx(DetectEngineThreadCtx *det_ctx, const SigGroupHead *sgh, Packet *p, const uint8_t ipproto, const uint8_t flow_flags, const AppProto alproto, void *alstate, DetectTransaction *tx)
run prefilter engines on a transaction
void PrefilterSetupRuleGroup(DetectEngineCtx *de_ctx, SigGroupHead *sgh)
int PrefilterAppendTxEngine(DetectEngineCtx *de_ctx, SigGroupHead *sgh, void(*PrefilterTx)(DetectEngineThreadCtx *det_ctx, const void *pectx, Packet *p, Flow *f, void *tx, const uint64_t idx, const uint8_t flags), const AppProto alproto, const int tx_min_progress, void *pectx, void(*FreeFunc)(void *pectx), const char *name)
void Prefilter(DetectEngineThreadCtx *, const SigGroupHead *, Packet *p, const uint8_t flags)
int PrefilterAppendEngine(DetectEngineCtx *de_ctx, SigGroupHead *sgh, void(*Prefilter)(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx), void *pectx, void(*FreeFunc)(void *pectx), const char *name)
int PrefilterGenericMpmPktRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx, const DetectBufferMpmRegistery *mpm_reg, int list_id)
void PrefilterInit(DetectEngineCtx *de_ctx)
void PrefilterFreeEnginesList(PrefilterEngineList *list)