Go to the documentation of this file.
24 #ifndef SURICATA_DETECT_ENGINE_IPONLY_H
25 #define SURICATA_DETECT_ENGINE_IPONLY_H
void IPOnlyAddSignature(DetectEngineCtx *, DetectEngineIPOnlyCtx *, Signature *)
Add a signature to the lists of Addresses in CIDR format (sorted) this step is necessary to build the...
void IPOnlyInit(DetectEngineCtx *, DetectEngineIPOnlyCtx *)
Setup the IP Only detection engine context.
main detection engine ctx
void IPOnlyMatchPacket(ThreadVars *tv, const DetectEngineCtx *, DetectEngineThreadCtx *, const DetectEngineIPOnlyCtx *, Packet *)
Match a packet against the IP Only detection engine contexts.
void IPOnlyPrint(DetectEngineCtx *, DetectEngineIPOnlyCtx *)
Print stats of the IP Only engine.
Per thread variable structure.
void IPOnlyCIDRListFree(IPOnlyCIDRItem *tmphead)
This function free a IPOnlyCIDRItem list.
void IPOnlyRegisterTests(void)
void IPOnlyDeinit(DetectEngineCtx *, DetectEngineIPOnlyCtx *)
Deinitialize the IP Only detection engine context.
void IPOnlyPrepare(DetectEngineCtx *)
Build the radix trees from the lists of parsed addresses in CIDR format the result should be 4 radix ...
IP only rules matching ctx.
SigIntId IPOnlyTrackSigNum(DetectEngineIPOnlyCtx *, SigIntId)
int IPOnlySigParseAddress(const DetectEngineCtx *, Signature *, const char *, char)
Parses an address group sent as a character string and updates the IPOnlyCIDRItem lists src and dst o...