suricata
PrefilterEngine_ Struct Reference

#include <detect.h>

Data Fields

uint16_t local_id
 
AppProto alproto
 
uint8_t tx_min_progress
 
void * pectx
 
union {
   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)
 
cb
 
uint32_t gid
 
bool is_last
 
bool is_last_for_progress
 

Detailed Description

Definition at line 1292 of file detect.h.

Field Documentation

◆ alproto

AppProto PrefilterEngine_::alproto

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

Definition at line 1296 of file detect.h.

Referenced by DetectRunPrefilterTx().

◆ cb

union { ... } PrefilterEngine_::cb

Referenced by DetectRunPrefilterTx(), and Prefilter().

◆ gid

uint32_t PrefilterEngine_::gid

Definition at line 1313 of file detect.h.

Referenced by DetectRunPrefilterTx(), and Prefilter().

◆ is_last

bool PrefilterEngine_::is_last

Definition at line 1314 of file detect.h.

Referenced by DetectRunPrefilterTx(), and Prefilter().

◆ is_last_for_progress

bool PrefilterEngine_::is_last_for_progress

Definition at line 1315 of file detect.h.

Referenced by DetectRunPrefilterTx().

◆ local_id

uint16_t PrefilterEngine_::local_id

Definition at line 1293 of file detect.h.

◆ pectx

void* PrefilterEngine_::pectx

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

Definition at line 1303 of file detect.h.

Referenced by DetectRunPrefilterTx(), and Prefilter().

◆ Prefilter

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

Definition at line 1306 of file detect.h.

Referenced by Prefilter().

◆ PrefilterTx

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

Definition at line 1307 of file detect.h.

Referenced by DetectRunPrefilterTx().

◆ tx_min_progress

uint8_t PrefilterEngine_::tx_min_progress

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

Definition at line 1299 of file detect.h.

Referenced by DetectRunPrefilterTx().


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