suricata
PrefilterEngineList_ Struct Reference

#include <detect.h>

Collaboration diagram for PrefilterEngineList_:

Data Fields

uint16_t id
 
AppProto alproto
 
int8_t tx_min_progress
 
uint8_t frame_type
 
SignatureMask pkt_mask
 
enum SignatureHookPkt pkt_hook
 
void * pectx
 
PrefilterPktFn Prefilter
 
PrefilterTxFn PrefilterTx
 
PrefilterFrameFn PrefilterFrame
 
void(* PrefilterPostRule )(DetectEngineThreadCtx *det_ctx, const void *pectx, Packet *p, Flow *f)
 
struct PrefilterEngineList_next
 
void(* Free )(void *pectx)
 
const char * name
 
uint32_t gid
 

Detailed Description

Definition at line 1498 of file detect.h.

Field Documentation

◆ alproto

AppProto PrefilterEngineList_::alproto

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

Definition at line 1502 of file detect.h.

Referenced by PrefilterAppendFrameEngine(), and PrefilterAppendTxEngine().

◆ frame_type

uint8_t PrefilterEngineList_::frame_type

Definition at line 1507 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 1526 of file detect.h.

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

◆ gid

◆ id

◆ name

◆ next

◆ pectx

void* PrefilterEngineList_::pectx

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

Definition at line 1515 of file detect.h.

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

◆ pkt_hook

enum SignatureHookPkt PrefilterEngineList_::pkt_hook

Definition at line 1509 of file detect.h.

Referenced by PrefilterAppendEngine().

◆ pkt_mask

SignatureMask PrefilterEngineList_::pkt_mask

mask for pkt engines

Definition at line 1509 of file detect.h.

Referenced by PrefilterAppendEngine().

◆ Prefilter

PrefilterPktFn PrefilterEngineList_::Prefilter

Definition at line 1517 of file detect.h.

Referenced by PrefilterAppendEngine(), and PrefilterAppendPayloadEngine().

◆ PrefilterFrame

PrefilterFrameFn PrefilterEngineList_::PrefilterFrame

Definition at line 1519 of file detect.h.

Referenced by PrefilterAppendFrameEngine().

◆ PrefilterPostRule

void(* PrefilterEngineList_::PrefilterPostRule) (DetectEngineThreadCtx *det_ctx, const void *pectx, Packet *p, Flow *f)

Definition at line 1520 of file detect.h.

Referenced by PrefilterAppendPostRuleEngine().

◆ PrefilterTx

PrefilterTxFn PrefilterEngineList_::PrefilterTx

Definition at line 1518 of file detect.h.

Referenced by PrefilterAppendTxEngine().

◆ tx_min_progress

int8_t PrefilterEngineList_::tx_min_progress

Minimal Tx progress we need before running the engine. Only used with Tx Engine. Set to -1 for all states.

Definition at line 1505 of file detect.h.

Referenced by PrefilterAppendTxEngine().


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