suricata
PrefilterEngine_ Struct Reference

#include <detect.h>

Collaboration diagram for PrefilterEngine_:

Data Fields

uint16_t local_id
 
AppProto alproto
 
union {
   SignatureMask   pkt_mask
 
   uint8_t   tx_min_progress
 
   uint8_t   frame_type
 
ctx
 
void * pectx
 
union {
   PrefilterPktFn   Prefilter
 
   PrefilterTxFn   PrefilterTx
 
   PrefilterFrameFn   PrefilterFrame
 
cb
 
uint32_t gid
 
bool is_last
 
bool is_last_for_progress
 

Detailed Description

Definition at line 1399 of file detect.h.

Field Documentation

◆ alproto

AppProto PrefilterEngine_::alproto

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

Definition at line 1403 of file detect.h.

Referenced by DetectRunPrefilterFrame(), DetectRunPrefilterTx(), and PrefilterSetupRuleGroup().

◆ cb

union { ... } PrefilterEngine_::cb

◆ ctx

union { ... } PrefilterEngine_::ctx

◆ frame_type

uint8_t PrefilterEngine_::frame_type

Definition at line 1410 of file detect.h.

Referenced by DetectRunPrefilterFrame().

◆ gid

uint32_t PrefilterEngine_::gid

◆ is_last

bool PrefilterEngine_::is_last

◆ is_last_for_progress

bool PrefilterEngine_::is_last_for_progress

Definition at line 1426 of file detect.h.

Referenced by DetectRunPrefilterTx().

◆ local_id

uint16_t PrefilterEngine_::local_id

Definition at line 1400 of file detect.h.

Referenced by PrefilterSetupRuleGroup().

◆ pectx

void* PrefilterEngine_::pectx

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

Definition at line 1415 of file detect.h.

Referenced by DetectRunPrefilterFrame(), DetectRunPrefilterTx(), Prefilter(), and PrefilterSetupRuleGroup().

◆ pkt_mask

SignatureMask PrefilterEngine_::pkt_mask

mask for pkt engines

Definition at line 1406 of file detect.h.

Referenced by Prefilter(), and PrefilterSetupRuleGroup().

◆ Prefilter

PrefilterPktFn PrefilterEngine_::Prefilter

Definition at line 1418 of file detect.h.

Referenced by Prefilter(), and PrefilterSetupRuleGroup().

◆ PrefilterFrame

PrefilterFrameFn PrefilterEngine_::PrefilterFrame

Definition at line 1420 of file detect.h.

Referenced by DetectRunPrefilterFrame().

◆ PrefilterTx

PrefilterTxFn PrefilterEngine_::PrefilterTx

Definition at line 1419 of file detect.h.

Referenced by DetectRunPrefilterTx(), and PrefilterSetupRuleGroup().

◆ 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 1409 of file detect.h.

Referenced by DetectRunPrefilterTx(), and PrefilterSetupRuleGroup().


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