suricata
PrefilterEngineList_ Struct Reference

#include <detect.h>

Collaboration diagram for PrefilterEngineList_:

Data Fields

uint16_t id
 
AppProto alproto
 
uint8_t tx_min_progress
 
uint8_t frame_type
 
void * pectx
 
void(* Prefilter )(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx)
 
PrefilterTxFn PrefilterTx
 
PrefilterFrameFn PrefilterFrame
 
struct PrefilterEngineList_next
 
void(* Free )(void *pectx)
 
const char * name
 
uint32_t gid
 

Detailed Description

Definition at line 1358 of file detect.h.

Field Documentation

◆ alproto

AppProto PrefilterEngineList_::alproto

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

Definition at line 1362 of file detect.h.

Referenced by PrefilterAppendFrameEngine(), PrefilterAppendTxEngine(), and PrefilterSetupRuleGroup().

◆ frame_type

uint8_t PrefilterEngineList_::frame_type

Definition at line 1367 of file detect.h.

Referenced by PrefilterAppendFrameEngine().

◆ Free

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

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

Definition at line 1380 of file detect.h.

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

◆ gid

◆ id

◆ name

const char* PrefilterEngineList_::name

◆ next

◆ pectx

void* PrefilterEngineList_::pectx

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

Definition at line 1371 of file detect.h.

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

◆ Prefilter

void(* PrefilterEngineList_::Prefilter) (DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx)

◆ PrefilterFrame

PrefilterFrameFn PrefilterEngineList_::PrefilterFrame

Definition at line 1375 of file detect.h.

Referenced by PrefilterAppendFrameEngine().

◆ PrefilterTx

PrefilterTxFn PrefilterEngineList_::PrefilterTx

Definition at line 1374 of file detect.h.

Referenced by PrefilterAppendTxEngine(), and PrefilterSetupRuleGroup().

◆ tx_min_progress

uint8_t PrefilterEngineList_::tx_min_progress

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

Definition at line 1365 of file detect.h.

Referenced by PrefilterAppendTxEngine(), and PrefilterSetupRuleGroup().


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