|
suricata
|
#include <detect.h>

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 |
| AppProto PrefilterEngine_::alproto |
App Proto this engine applies to: only used with Tx Engines
Definition at line 1566 of file detect.h.
Referenced by DetectRunPrefilterFrame(), and DetectRunPrefilterTx().
| union { ... } PrefilterEngine_::cb |
Referenced by DetectRunPrefilterFrame(), DetectRunPrefilterTx(), Prefilter(), and PrefilterPostRuleMatch().
| union { ... } PrefilterEngine_::ctx |
Referenced by DetectRunPrefilterFrame(), DetectRunPrefilterTx(), and Prefilter().
| uint8_t PrefilterEngine_::frame_type |
Definition at line 1576 of file detect.h.
Referenced by DetectRunPrefilterFrame().
| uint32_t PrefilterEngine_::gid |
Definition at line 1595 of file detect.h.
Referenced by DetectRunPrefilterFrame(), DetectRunPrefilterTx(), Prefilter(), and PrefilterPostRuleMatch().
| bool PrefilterEngine_::is_last |
Definition at line 1579 of file detect.h.
Referenced by DetectRunPrefilterFrame(), DetectRunPrefilterTx(), Prefilter(), and PrefilterPostRuleMatch().
| bool PrefilterEngine_::is_last_for_progress |
Definition at line 1580 of file detect.h.
Referenced by DetectRunPrefilterTx().
| SignatureMask PrefilterEngine_::mask |
| void* PrefilterEngine_::pectx |
Context for matching. Might be MpmCtx for MPM engines, other ctx' for other engines.
Definition at line 1584 of file detect.h.
Referenced by DetectRunPrefilterFrame(), DetectRunPrefilterTx(), Prefilter(), and PrefilterPostRuleMatch().
| struct { ... } PrefilterEngine_::pkt |
Referenced by Prefilter().
| PrefilterPktFn PrefilterEngine_::Prefilter |
Definition at line 1587 of file detect.h.
Referenced by Prefilter().
| PrefilterFrameFn PrefilterEngine_::PrefilterFrame |
Definition at line 1589 of file detect.h.
Referenced by DetectRunPrefilterFrame().
| void(* PrefilterEngine_::PrefilterPostRule) (DetectEngineThreadCtx *det_ctx, const void *pectx, Packet *p, Flow *f) |
Definition at line 1590 of file detect.h.
Referenced by PrefilterPostRuleMatch().
| PrefilterTxFn PrefilterEngine_::PrefilterTx |
Definition at line 1588 of file detect.h.
Referenced by DetectRunPrefilterTx().
| 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 1575 of file detect.h.
Referenced by DetectRunPrefilterTx().