|
|
|
@ -345,9 +345,9 @@ void FlowHandlePacket (ThreadVars *tv, Packet *p)
|
|
|
|
|
|
|
|
|
|
/*set the detection bypass flags*/
|
|
|
|
|
if (f->flags & FLOW_NOPACKET_INSPECTION)
|
|
|
|
|
FlowSetPktNoPacketInspectionFlag(p);
|
|
|
|
|
DecodeSetNoPacketInspectionFlag(p);
|
|
|
|
|
if (f->flags & FLOW_NOPAYLOAD_INSPECTION)
|
|
|
|
|
FlowSetPktNoPayloadInspectionFlag(p);
|
|
|
|
|
DecodeSetNoPayloadInspectionFlag(p);
|
|
|
|
|
|
|
|
|
|
/* set the flow in the packet */
|
|
|
|
|
p->flow = f;
|
|
|
|
@ -784,22 +784,6 @@ void FlowSetNoPayloadInspectionFlag(Flow *f) {
|
|
|
|
|
f->flags |= FLOW_NOPAYLOAD_INSPECTION;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** \brief Set the No payload inspection Flag for the packet.
|
|
|
|
|
*
|
|
|
|
|
* \param p Packet to set the flag in
|
|
|
|
|
*/
|
|
|
|
|
void FlowSetPktNoPayloadInspectionFlag(Packet *p) {
|
|
|
|
|
p->flags |= PKT_NOPAYLOAD_INSPECTION;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** \brief Set the No packet inspection Flag for the packet.
|
|
|
|
|
*
|
|
|
|
|
* \param p Packet to set the flag in
|
|
|
|
|
*/
|
|
|
|
|
void FlowSetPktNoPacketInspectionFlag(Packet *p) {
|
|
|
|
|
p->flags |= PKT_NOPACKET_INSPECTION;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifdef UNITTESTS
|
|
|
|
|
#include "stream-tcp-private.h"
|
|
|
|
|
|
|
|
|
|