Go to the documentation of this file.
34 #ifndef SURICATA_DETECT_ENGINE_STATE_H
35 #define SURICATA_DETECT_ENGINE_STATE_H
37 #define DETECT_ENGINE_INSPECT_SIG_NO_MATCH 0
38 #define DETECT_ENGINE_INSPECT_SIG_MATCH 1
39 #define DETECT_ENGINE_INSPECT_SIG_CANT_MATCH 2
43 #define DETECT_ENGINE_INSPECT_SIG_CANT_MATCH_FILES 3
49 #define DETECT_ENGINE_INSPECT_SIG_MATCH_MORE_FILES 4
52 #define DE_STATE_CHUNK_SIZE 15
55 #define DE_STATE_FLAG_FULL_INSPECT BIT_U32(0)
56 #define DE_STATE_FLAG_SIG_CANT_MATCH BIT_U32(1)
59 #define DE_STATE_ID_FILE_INSPECT 2UL
60 #define DE_STATE_FLAG_FILE_INSPECT BIT_U32(DE_STATE_ID_FILE_INSPECT)
63 #define DE_STATE_FLAG_BASE 3UL
70 #define DETECT_ENGINE_STATE_FLAG_FILE_NEW BIT_U8(0)
#define DE_STATE_CHUNK_SIZE
struct DetectEngineStateDirection_ DetectEngineStateDirection
struct DetectEngineState_ DetectEngineState
DetectEngineStateDirection dir_state[2]
struct DeStateStore_ * next
DetectEngineState * DetectEngineStateAlloc(void)
Alloc a DetectEngineState object.
void DetectEngineStateFree(DetectEngineState *state)
Frees a DetectEngineState object.
struct DeStateStore_ DeStateStore
struct DeStateStoreItem_ DeStateStoreItem
DeStateStoreItem store[DE_STATE_CHUNK_SIZE]