suricata
|
Go to the source code of this file.
Macros | |
#define | DETECT_UINT_GT DetectUintModeGt |
#define | DETECT_UINT_GTE DetectUintModeGte |
#define | DETECT_UINT_RA DetectUintModeRange |
#define | DETECT_UINT_EQ DetectUintModeEqual |
#define | DETECT_UINT_NE DetectUintModeNe |
#define | DETECT_UINT_LT DetectUintModeLt |
#define | DETECT_UINT_LTE DetectUintModeLte |
Typedefs | |
typedef DetectUintData_u64 | DetectU64Data |
typedef DetectUintData_u32 | DetectU32Data |
typedef DetectUintData_u16 | DetectU16Data |
typedef DetectUintData_u8 | DetectU8Data |
Functions | |
int | DetectU64Match (const uint64_t parg, const DetectUintData_u64 *du64) |
DetectUintData_u64 * | DetectU64Parse (const char *u64str) |
int | DetectU32Match (const uint32_t parg, const DetectUintData_u32 *du32) |
DetectUintData_u32 * | DetectU32Parse (const char *u32str) |
This function is used to parse u32 options passed via some u32 keyword. More... | |
void | PrefilterPacketU32Set (PrefilterPacketHeaderValue *v, void *smctx) |
bool | PrefilterPacketU32Compare (PrefilterPacketHeaderValue v, void *smctx) |
int | DetectU8Match (const uint8_t parg, const DetectUintData_u8 *du8) |
DetectUintData_u8 * | DetectU8Parse (const char *u8str) |
This function is used to parse u8 options passed via some u8 keyword. More... | |
void | PrefilterPacketU8Set (PrefilterPacketHeaderValue *v, void *smctx) |
bool | PrefilterPacketU8Compare (PrefilterPacketHeaderValue v, void *smctx) |
int | DetectU16Match (const uint16_t parg, const DetectUintData_u16 *du16) |
DetectUintData_u16 * | DetectU16Parse (const char *u16str) |
This function is used to parse u16 options passed via some u16 keyword. More... | |
void | PrefilterPacketU16Set (PrefilterPacketHeaderValue *v, void *smctx) |
bool | PrefilterPacketU16Compare (PrefilterPacketHeaderValue v, void *smctx) |
Definition in file detect-engine-uint.h.
#define DETECT_UINT_EQ DetectUintModeEqual |
Definition at line 36 of file detect-engine-uint.h.
#define DETECT_UINT_GT DetectUintModeGt |
Definition at line 33 of file detect-engine-uint.h.
#define DETECT_UINT_GTE DetectUintModeGte |
Definition at line 34 of file detect-engine-uint.h.
#define DETECT_UINT_LT DetectUintModeLt |
Definition at line 38 of file detect-engine-uint.h.
#define DETECT_UINT_LTE DetectUintModeLte |
Definition at line 39 of file detect-engine-uint.h.
#define DETECT_UINT_NE DetectUintModeNe |
Definition at line 37 of file detect-engine-uint.h.
#define DETECT_UINT_RA DetectUintModeRange |
Definition at line 35 of file detect-engine-uint.h.
typedef DetectUintData_u16 DetectU16Data |
Definition at line 42 of file detect-engine-uint.h.
typedef DetectUintData_u32 DetectU32Data |
Definition at line 41 of file detect-engine-uint.h.
typedef DetectUintData_u64 DetectU64Data |
Definition at line 40 of file detect-engine-uint.h.
typedef DetectUintData_u8 DetectU8Data |
Definition at line 43 of file detect-engine-uint.h.
int DetectU16Match | ( | const uint16_t | parg, |
const DetectUintData_u16 * | du16 | ||
) |
Definition at line 107 of file detect-engine-uint.c.
DetectUintData_u16* DetectU16Parse | ( | const char * | u16str | ) |
This function is used to parse u16 options passed via some u16 keyword.
u16str | Pointer to the user provided u16 options |
DetectU16Data | pointer to DetectU16Data on success |
NULL | on failure |
Definition at line 121 of file detect-engine-uint.c.
int DetectU32Match | ( | const uint32_t | parg, |
const DetectUintData_u32 * | du32 | ||
) |
Definition at line 31 of file detect-engine-uint.c.
DetectUintData_u32* DetectU32Parse | ( | const char * | u32str | ) |
This function is used to parse u32 options passed via some u32 keyword.
u32str | Pointer to the user provided u32 options |
DetectU32Data | pointer to DetectU32Data on success |
NULL | on failure |
Definition at line 45 of file detect-engine-uint.c.
int DetectU64Match | ( | const uint64_t | parg, |
const DetectUintData_u64 * | du64 | ||
) |
Definition at line 142 of file detect-engine-uint.c.
Referenced by DetectBsizeMatch().
DetectUintData_u64* DetectU64Parse | ( | const char * | u64str | ) |
Definition at line 147 of file detect-engine-uint.c.
int DetectU8Match | ( | const uint8_t | parg, |
const DetectUintData_u8 * | du8 | ||
) |
Definition at line 71 of file detect-engine-uint.c.
DetectUintData_u8* DetectU8Parse | ( | const char * | u8str | ) |
This function is used to parse u8 options passed via some u8 keyword.
u8str | Pointer to the user provided u8 options |
DetectU8Data | pointer to DetectU8Data on success |
NULL | on failure |
Definition at line 85 of file detect-engine-uint.c.
bool PrefilterPacketU16Compare | ( | PrefilterPacketHeaderValue | v, |
void * | smctx | ||
) |
Definition at line 134 of file detect-engine-uint.c.
References PrefilterPacketHeaderValue::u16, and PrefilterPacketHeaderValue::u8.
void PrefilterPacketU16Set | ( | PrefilterPacketHeaderValue * | v, |
void * | smctx | ||
) |
Definition at line 126 of file detect-engine-uint.c.
References PrefilterPacketHeaderValue::u16, and PrefilterPacketHeaderValue::u8.
bool PrefilterPacketU32Compare | ( | PrefilterPacketHeaderValue | v, |
void * | smctx | ||
) |
Definition at line 60 of file detect-engine-uint.c.
References PrefilterPacketHeaderValue::u32, and PrefilterPacketHeaderValue::u8.
void PrefilterPacketU32Set | ( | PrefilterPacketHeaderValue * | v, |
void * | smctx | ||
) |
Definition at line 51 of file detect-engine-uint.c.
References PrefilterPacketHeaderValue::u32, and PrefilterPacketHeaderValue::u8.
bool PrefilterPacketU8Compare | ( | PrefilterPacketHeaderValue | v, |
void * | smctx | ||
) |
Definition at line 98 of file detect-engine-uint.c.
References PrefilterPacketHeaderValue::u8.
void PrefilterPacketU8Set | ( | PrefilterPacketHeaderValue * | v, |
void * | smctx | ||
) |
Definition at line 90 of file detect-engine-uint.c.
References PrefilterPacketHeaderValue::u8.