Remove unused stream flag.

remotes/origin/master-1.1.x
Victor Julien 16 years ago
parent 4cacb1e970
commit c64b9362cf

@ -127,18 +127,12 @@ enum
reassembly / app layer reassembly / app layer
inspection for the inspection for the
client stream.*/ client stream.*/
#define STREAMTCP_FLAG_NO_APPLAYER_INSPECTION 0x2000 /**< don't send any more #define STREAMTCP_FLAG_DETECTION_EVASION_ATTEMPT 0x2000 /**< Flag to indicate
data to the app layer
parser, but still
reassemble for raw
reassembled data
inspection */
#define STREAMTCP_FLAG_DETECTION_EVASION_ATTEMPT 0x4000 /**< Flag to indicate
that this session that this session
is possible trying is possible trying
to evade the detection to evade the detection
(http://www.packetstan.com/2010/06/recently-ive-been-on-campaign-to-make.html) */ (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 that this session
has reassembled to_server has reassembled to_server
chunks */ chunks */

@ -3221,15 +3221,6 @@ void StreamTcpSetSessionNoReassemblyFlag (TcpSession *ssn, char direction)
(ssn->flags |= STREAMTCP_FLAG_NOCLIENT_REASSEMBLY); (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 #ifdef UNITTESTS
/** /**

Loading…
Cancel
Save