|
suricata
|

Go to the source code of this file.
Data Structures | |
| struct | FBAnalyzer |
| struct | SigIdentifier_ |
| struct | FBAnalyze |
| struct | DetectFlowbitsData_ |
Macros | |
| #define | DETECT_FLOWBITS_CMD_SET 0 |
| #define | DETECT_FLOWBITS_CMD_UNSET 1 |
| #define | DETECT_FLOWBITS_CMD_ISNOTSET 2 |
| #define | DETECT_FLOWBITS_CMD_ISSET 3 |
| #define | DETECT_FLOWBITS_CMD_MAX 4 |
Typedefs | |
| typedef struct SigIdentifier_ | SigIdentifier |
| typedef struct DetectFlowbitsData_ | DetectFlowbitsData |
Functions | |
| void | DetectFlowbitsRegister (void) |
| int | DetectFlowbitsAnalyzeSignature (const Signature *, struct FBAnalyzer *) |
| void | FBAnalyzerFree (struct FBAnalyzer *) |
Definition in file detect-flowbits.h.
| #define DETECT_FLOWBITS_CMD_ISNOTSET 2 |
Definition at line 31 of file detect-flowbits.h.
| #define DETECT_FLOWBITS_CMD_ISSET 3 |
Definition at line 32 of file detect-flowbits.h.
| #define DETECT_FLOWBITS_CMD_MAX 4 |
Definition at line 33 of file detect-flowbits.h.
| #define DETECT_FLOWBITS_CMD_SET 0 |
Definition at line 29 of file detect-flowbits.h.
| #define DETECT_FLOWBITS_CMD_UNSET 1 |
Definition at line 30 of file detect-flowbits.h.
| typedef struct DetectFlowbitsData_ DetectFlowbitsData |
| typedef struct SigIdentifier_ SigIdentifier |
| int DetectFlowbitsAnalyzeSignature | ( | const Signature * | , |
| struct FBAnalyzer * | |||
| ) |
Definition at line 537 of file detect-flowbits.c.
References FBAnalyzer::array, SignatureInitData_::buffer_index, DetectFlowbitsData_::cmd, FBAnalyze::cnts, DETECT_FLOWBITS, DETECT_FLOWBITS_CMD_ISSET, DETECT_SM_LIST_MATCH, Signature_::init_data, SigMatch_::next, DetectFlowbitsData_::or_list, DetectFlowbitsData_::or_list_size, SignatureInitData_::smlists, and FBAnalyze::state_cnts.
Referenced by DetectFlowbitsAnalyze().

| void DetectFlowbitsRegister | ( | void | ) |
Definition at line 72 of file detect-flowbits.c.
References SigTableElmt_::desc, DETECT_FLOWBITS, DetectFlowbitMatch(), SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().


| void FBAnalyzerFree | ( | struct FBAnalyzer * | ) |
Definition at line 512 of file detect-flowbits.c.
References FBAnalyzer::array.
Referenced by DetectFlowbitsAnalyze().
