|
suricata
|


Go to the source code of this file.
Data Structures | |
| struct | DetectDatarepData_ |
Typedefs | |
| typedef struct DetectDatarepData_ | DetectDatarepData |
Enumerations | |
| enum | DetectDatarepOp { DATAREP_OP_GT, DATAREP_OP_LT, DATAREP_OP_EQ } |
Functions | |
| int | DetectDatarepBufferMatch (DetectEngineThreadCtx *det_ctx, const DetectDatarepData *sd, const uint8_t *data, const uint32_t data_len) |
| void | DetectDatarepRegister (void) |
Definition in file detect-datarep.h.
| typedef struct DetectDatarepData_ DetectDatarepData |
| enum DetectDatarepOp |
| Enumerator | |
|---|---|
| DATAREP_OP_GT | |
| DATAREP_OP_LT | |
| DATAREP_OP_EQ | |
Definition at line 30 of file detect-datarep.h.
| int DetectDatarepBufferMatch | ( | DetectEngineThreadCtx * | det_ctx, |
| const DetectDatarepData * | sd, | ||
| const uint8_t * | data, | ||
| const uint32_t | data_len | ||
| ) |
Definition at line 69 of file detect-datarep.c.
References DATAREP_OP_EQ, DATAREP_OP_GT, DATAREP_OP_LT, DatasetLookupwRep(), DataRepResultType::found, DetectDatarepData_::op, DataRepResultType::rep, DetectDatarepData_::rep, and DetectDatarepData_::set.

| void DetectDatarepRegister | ( | void | ) |
Definition at line 53 of file detect-datarep.c.
References SigTableElmt_::desc, DETECT_DATAREP, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().
