suricata
PrefilterEngine_ Struct Reference

#include <detect.h>

Collaboration diagram for PrefilterEngine_:

Data Fields

uint16_t local_id
 
AppProto alproto
 
union {
   struct {
      SignatureMask   mask
 
      uint8_t   hook
 
   }   pkt
 
   int8_t   tx_min_progress
 
   uint8_t   frame_type
 
ctx
 
bool is_last
 
bool is_last_for_progress
 
void * pectx
 
union {
   PrefilterPktFn   Prefilter
 
   PrefilterTxFn   PrefilterTx
 
   PrefilterFrameFn   PrefilterFrame
 
   void(*   PrefilterPostRule )(DetectEngineThreadCtx
      *det_ctx, const void *pectx,
      Packet *p, Flow *f)
 
cb
 
uint32_t gid
 

Detailed Description

Definition at line 1533 of file detect.h.

Field Documentation

◆ alproto

AppProto PrefilterEngine_::alproto

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

Definition at line 1537 of file detect.h.

Referenced by DetectRunPrefilterFrame(), and DetectRunPrefilterTx().

◆ cb

union { ... } PrefilterEngine_::cb

◆ ctx

union { ... } PrefilterEngine_::ctx

◆ frame_type

uint8_t PrefilterEngine_::frame_type

Definition at line 1547 of file detect.h.

Referenced by DetectRunPrefilterFrame().

◆ gid

uint32_t PrefilterEngine_::gid

◆ hook

uint8_t PrefilterEngine_::hook

enum SignatureHookPkt

Definition at line 1542 of file detect.h.

◆ is_last

bool PrefilterEngine_::is_last

◆ is_last_for_progress

bool PrefilterEngine_::is_last_for_progress

Definition at line 1551 of file detect.h.

Referenced by DetectRunPrefilterTx().

◆ local_id

uint16_t PrefilterEngine_::local_id

Definition at line 1534 of file detect.h.

◆ mask

SignatureMask PrefilterEngine_::mask

mask for pkt engines

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

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

◆ pkt

struct { ... } PrefilterEngine_::pkt

Referenced by Prefilter().

◆ Prefilter

PrefilterPktFn PrefilterEngine_::Prefilter

Definition at line 1558 of file detect.h.

Referenced by Prefilter().

◆ PrefilterFrame

PrefilterFrameFn PrefilterEngine_::PrefilterFrame

Definition at line 1560 of file detect.h.

Referenced by DetectRunPrefilterFrame().

◆ PrefilterPostRule

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

Definition at line 1561 of file detect.h.

Referenced by PrefilterPostRuleMatch().

◆ PrefilterTx

PrefilterTxFn PrefilterEngine_::PrefilterTx

Definition at line 1559 of file detect.h.

Referenced by DetectRunPrefilterTx().

◆ tx_min_progress

int8_t PrefilterEngine_::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 1546 of file detect.h.

Referenced by DetectRunPrefilterTx().


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