* \param det_ctx Detection engine thread context
* \param s Signature to inspect
* \param f flow (for pcre flowvar storage)
- * \param flags app layer flags
- * \param state App layer state
* \param p Packet
*
* \retval 0 no match
* \retval 1 match
*/
int DetectEngineInspectPacketPayload(DetectEngineCtx *de_ctx,
- DetectEngineThreadCtx *det_ctx, Signature *s, Flow *f, uint8_t flags,
- void *alstate, Packet *p)
+ DetectEngineThreadCtx *det_ctx, Signature *s, Flow *f, Packet *p)
{
SCEnter();
int r = 0;
#define __DETECT_ENGINE_PAYLOAD_H__
int DetectEngineInspectPacketPayload(DetectEngineCtx *,
- DetectEngineThreadCtx *, Signature *, Flow *, uint8_t,
- void *, Packet *);
+ DetectEngineThreadCtx *, Signature *, Flow *, Packet *);
int DetectEngineInspectStreamPayload(DetectEngineCtx *,
DetectEngineThreadCtx *, Signature *, Flow *,
uint8_t *, uint32_t);
s->mpm_pattern_id_mod_8)) {
goto next;
}
- if (DetectEngineInspectPacketPayload(de_ctx, det_ctx, s, pflow, flags, alstate, p) != 1) {
+ if (DetectEngineInspectPacketPayload(de_ctx, det_ctx, s, pflow, p) != 1) {
goto next;
}
} else {
- if (DetectEngineInspectPacketPayload(de_ctx, det_ctx, s, pflow, flags, alstate, p) != 1) {
+ if (DetectEngineInspectPacketPayload(de_ctx, det_ctx, s, pflow, p) != 1) {
goto next;
}
}
s->mpm_pattern_id_mod_8)) {
goto next;
}
- if (DetectEngineInspectPacketPayload(de_ctx, det_ctx, s, pflow, flags, alstate, p) != 1) {
+ if (DetectEngineInspectPacketPayload(de_ctx, det_ctx, s, pflow, p) != 1) {
goto next;
}
} else {
- if (DetectEngineInspectPacketPayload(de_ctx, det_ctx, s, pflow, flags, alstate, p) != 1)
+ if (DetectEngineInspectPacketPayload(de_ctx, det_ctx, s, pflow, p) != 1)
goto next;
}
}