Go to the documentation of this file.
18 #include "../suricata-common.h"
20 #include "../detect-engine.h"
22 #include "../detect-icmpv6-mtu.h"
24 #include "../util-unittest.h"
30 static int DetectICMPv6mtuParseTest01 (
void)
36 "alert ip any any -> any any (icmpv6.mtu:<1280; sid:1; rev:1;)");
49 UtRegisterTest(
"DetectICMPv6mtuParseTest01", DetectICMPv6mtuParseTest01);
#define FAIL_IF_NULL(expr)
Fail a test if expression evaluates to NULL.
void UtRegisterTest(const char *name, int(*TestFn)(void))
Register unit test.
void DetectICMPv6mtuRegisterTests(void)
this function registers unit tests for DetectICMPv6mtu
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.
#define PASS
Pass the test.
DetectEngineCtx * DetectEngineCtxInit(void)