suricata
|
#include "suricata-common.h"
#include "util-byte.h"
#include "detect-parse.h"
#include "detect-engine-uint.h"
Go to the source code of this file.
Functions | |
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) |
int | DetectU64Match (const uint64_t parg, const DetectUintData_u64 *du64) |
DetectUintData_u64 * | DetectU64Parse (const char *u64str) |
Definition in file detect-engine-uint.c.
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.