suricata
PrefilterEngine_ Struct Reference

#include <detect.h>

Data Fields

uint16_t local_id
 
AppProto alproto
 
int 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
 
int is_last
 

Detailed Description

Definition at line 1298 of file detect.h.

Field Documentation

◆ alproto

AppProto PrefilterEngine_::alproto

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

Definition at line 1302 of file detect.h.

Referenced by DetectRunPrefilterTx().

◆ cb

union { ... } PrefilterEngine_::cb

Referenced by DetectRunPrefilterTx(), and Prefilter().

◆ gid

uint32_t PrefilterEngine_::gid

Definition at line 1319 of file detect.h.

Referenced by DetectRunPrefilterTx(), and Prefilter().

◆ is_last

int PrefilterEngine_::is_last

Definition at line 1320 of file detect.h.

Referenced by DetectRunPrefilterTx(), and Prefilter().

◆ local_id

uint16_t PrefilterEngine_::local_id

Definition at line 1299 of file detect.h.

Referenced by DetectRunPrefilterTx().

◆ pectx

void* PrefilterEngine_::pectx

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

Definition at line 1309 of file detect.h.

Referenced by DetectRunPrefilterTx(), and Prefilter().

◆ Prefilter

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

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

Referenced by DetectRunPrefilterTx().

◆ tx_min_progress

int PrefilterEngine_::tx_min_progress

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

Definition at line 1305 of file detect.h.

Referenced by DetectRunPrefilterTx().


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