Go to the documentation of this file.
47 static void DetectPktDataTestRegister(
void);
78 SCLogError(
"previous transforms not consumed before 'pkt_data'");
88 static int DetectPktDataTest02(
void)
95 "(file_data; compress_whitespace; "
96 " pkt_data; content:\"in pkt data\"; sid:1;)");
102 static void DetectPktDataTestRegister(
void)
#define FAIL_IF_NULL(expr)
Fail a test if expression evaluates to NULL.
SigTableElmt * sigmatch_table
void UtRegisterTest(const char *name, int(*TestFn)(void))
Register unit test.
main detection engine ctx
void DetectEngineCtxFree(DetectEngineCtx *)
Free a DetectEngineCtx::
Signature * DetectEngineAppendSig(DetectEngineCtx *, const char *)
Parse and append a Signature into the Detection Engine Context signature list.
int(* Setup)(DetectEngineCtx *, Signature *, const char *)
#define FAIL_IF_NOT_NULL(expr)
Fail a test if expression evaluates to non-NULL.
#define PASS
Pass the test.
void DetectPktDataRegister(void)
Registration function for keyword: file_data.
SignatureInitData * init_data
Data structures and function prototypes for keeping state for the detection engine.
#define DETECT_SM_LIST_NOTSET
#define SCLogError(...)
Macro used to log ERROR messages.
DetectEngineCtx * DetectEngineCtxInit(void)
DetectEngineTransforms transforms
void(* RegisterTests)(void)