suricata
PrefilterEngineList_ Struct Reference

#include <detect.h>

Collaboration diagram for PrefilterEngineList_:

Data Fields

uint16_t id
 
AppProto alproto
 
int tx_min_progress
 
void * pectx
 
void(* Prefilter )(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx)
 
void(* PrefilterTx )(DetectEngineThreadCtx *det_ctx, const void *pectx, Packet *p, Flow *f, void *tx, const uint64_t idx, const uint8_t flags)
 
struct PrefilterEngineList_next
 
void(* Free )(void *pectx)
 
const char * name
 
uint32_t gid
 

Detailed Description

Definition at line 1225 of file detect.h.

Field Documentation

AppProto PrefilterEngineList_::alproto

App Proto this engine applies to: only used with Tx Engines

Definition at line 1229 of file detect.h.

Referenced by PrefilterAppendTxEngine(), and PrefilterSetupRuleGroup().

void(* PrefilterEngineList_::Free) (void *pectx)

Free function for pectx data. If NULL the memory is not freed.

Definition at line 1246 of file detect.h.

Referenced by PrefilterAppendEngine(), PrefilterAppendPayloadEngine(), and PrefilterAppendTxEngine().

uint32_t PrefilterEngineList_::gid
uint16_t PrefilterEngineList_::id
const char* PrefilterEngineList_::name
void* PrefilterEngineList_::pectx

Context for matching. Might be MpmCtx for MPM engines, other ctx' for other engines.

Definition at line 1236 of file detect.h.

Referenced by PrefilterAppendEngine(), PrefilterAppendPayloadEngine(), PrefilterAppendTxEngine(), and PrefilterSetupRuleGroup().

void(* PrefilterEngineList_::Prefilter) (DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx)
void(* PrefilterEngineList_::PrefilterTx) (DetectEngineThreadCtx *det_ctx, const void *pectx, Packet *p, Flow *f, void *tx, const uint64_t idx, const uint8_t flags)

Definition at line 1239 of file detect.h.

Referenced by PrefilterAppendTxEngine(), and PrefilterSetupRuleGroup().

int PrefilterEngineList_::tx_min_progress

Minimal Tx progress we need before running the engine. Only used with Tx Engine

Definition at line 1232 of file detect.h.

Referenced by PrefilterAppendTxEngine(), and PrefilterSetupRuleGroup().


The documentation for this struct was generated from the following file: