Go to the documentation of this file.
24 #ifndef SURICATA_DETECT_ENGINE_UINT_H
25 #define SURICATA_DETECT_ENGINE_UINT_H
32 #define DETECT_UINT_GT DetectUintModeGt
33 #define DETECT_UINT_GTE DetectUintModeGte
34 #define DETECT_UINT_RA DetectUintModeRange
35 #define DETECT_UINT_EQ DetectUintModeEqual
36 #define DETECT_UINT_NE DetectUintModeNe
37 #define DETECT_UINT_LT DetectUintModeLt
38 #define DETECT_UINT_LTE DetectUintModeLte
45 int DetectU64Match(
const uint64_t parg,
const DetectUintData_u64 *du64);
48 int DetectU32Match(
const uint32_t parg,
const DetectUintData_u32 *du32);
53 int DetectU8Match(
const uint8_t parg,
const DetectUintData_u8 *du8);
58 int DetectU16Match(
const uint16_t parg,
const DetectUintData_u16 *du16);
void PrefilterPacketU32Set(PrefilterPacketHeaderValue *v, void *smctx)
void PrefilterPacketU16Set(PrefilterPacketHeaderValue *v, void *smctx)
DetectUintData_u8 * DetectU8Parse(const char *u8str)
This function is used to parse u8 options passed via some u8 keyword.
bool PrefilterPacketU8Compare(PrefilterPacketHeaderValue v, void *smctx)
int DetectU32Match(const uint32_t parg, const DetectUintData_u32 *du32)
DetectUintData_u8 DetectU8Data
int DetectU8Match(const uint8_t parg, const DetectUintData_u8 *du8)
DetectUintData_u16 * DetectU16Parse(const char *u16str)
This function is used to parse u16 options passed via some u16 keyword.
int DetectU16Match(const uint16_t parg, const DetectUintData_u16 *du16)
bool PrefilterPacketU32Compare(PrefilterPacketHeaderValue v, void *smctx)
DetectUintData_u64 * DetectU64Parse(const char *u64str)
DetectUintData_u32 DetectU32Data
void PrefilterPacketU8Set(PrefilterPacketHeaderValue *v, void *smctx)
DetectUintData_u64 DetectU64Data
int DetectU64Match(const uint64_t parg, const DetectUintData_u64 *du64)
bool PrefilterPacketU16Compare(PrefilterPacketHeaderValue v, void *smctx)
DetectUintData_u32 * DetectU32Parse(const char *u32str)
This function is used to parse u32 options passed via some u32 keyword.
DetectUintData_u16 DetectU16Data