From c64b9362cf68d43769ef8c7a5cb943481ac74c13 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 17 Dec 2010 09:15:25 +0100 Subject: [PATCH] Remove unused stream flag. --- src/stream-tcp-private.h | 10 ++-------- src/stream-tcp.c | 9 --------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/src/stream-tcp-private.h b/src/stream-tcp-private.h index 0a1bbb9249..5302f6f897 100644 --- a/src/stream-tcp-private.h +++ b/src/stream-tcp-private.h @@ -127,18 +127,12 @@ enum reassembly / app layer inspection for the client stream.*/ -#define STREAMTCP_FLAG_NO_APPLAYER_INSPECTION 0x2000 /**< don't send any more - data to the app layer - parser, but still - reassemble for raw - reassembled data - inspection */ -#define STREAMTCP_FLAG_DETECTION_EVASION_ATTEMPT 0x4000 /**< Flag to indicate +#define STREAMTCP_FLAG_DETECTION_EVASION_ATTEMPT 0x2000 /**< Flag to indicate that this session is possible trying to evade the detection (http://www.packetstan.com/2010/06/recently-ive-been-on-campaign-to-make.html) */ -#define STREAMTCP_FLAG_TOSERVER_REASSEMBLY_STARTED 0x8000 /**< Flag to indicate +#define STREAMTCP_FLAG_TOSERVER_REASSEMBLY_STARTED 0x4000 /**< Flag to indicate that this session has reassembled to_server chunks */ diff --git a/src/stream-tcp.c b/src/stream-tcp.c index 184c69c87a..e2164caf1c 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -3221,15 +3221,6 @@ void StreamTcpSetSessionNoReassemblyFlag (TcpSession *ssn, char direction) (ssn->flags |= STREAMTCP_FLAG_NOCLIENT_REASSEMBLY); } -/** \brief Set the No applayer inspection flag for the TCP session. - * - * \param ssn TCP Session to set the flag in - */ -void StreamTcpSetSessionNoApplayerInspectionFlag (TcpSession *ssn) -{ - ssn->flags |= STREAMTCP_FLAG_NO_APPLAYER_INSPECTION; -} - #ifdef UNITTESTS /**