suricata
Test List
Global UTHMatchPackets (DetectEngineCtx *, Packet **, int)
UTHMatchPackets Match a packet or a array of packets against sigs of a de_ctx, but note that the return value doesn't mean that we have a match, we have to check it later with PacketAlertCheck()
Global UTHMatchPackets (DetectEngineCtx *, Packet **, int)
UTHMatchPackets Match a packet or a array of packets against sigs of a de_ctx, but note that the return value doesn't mean that we have a match, we have to check it later with PacketAlertCheck()
Global UTHMatchPacketsWithResults (DetectEngineCtx *de_ctx, Packet **p, int num_packets, uint32_t sids[], uint32_t *results, int numsigs)
UTHMatchPacketsWithResults Match a packet or a array of packets against sigs of a de_ctx, checking that each signature match match X times for certain packets
Global UTHPacketMatchSig (Packet *p, const char *)
Test if a packet match a signature given as string Hint: Useful for unittests with only one packet and one signature
Global UTHPacketMatchSig (Packet *p, const char *)
Test if a packet match a signature given as string Hint: Useful for unittests with only one packet and one signature
Global UTHPacketMatchSigMpm (Packet *, char *, uint16_t)
Test if a packet match a signature given as string and a mpm_type Hint: Useful for unittests with only one packet and one signature
Global UTHPacketMatchSigMpm (Packet *, char *, uint16_t)
Test if a packet match a signature given as string and a mpm_type Hint: Useful for unittests with only one packet and one signature