}
}
-/**
+/** \internal
* \brief See if stream engine is dropping invalid packet in inline mode
- *
- * \retval 0 no
- * \retval 1 yes
+ * \retval false no
+ * \retval true yes
*/
-int StreamTcpInlineDropInvalid(void)
+static inline bool StreamTcpInlineDropInvalid(void)
{
return ((stream_config.flags & STREAMTCP_INIT_FLAG_INLINE)
&& (stream_config.flags & STREAMTCP_INIT_FLAG_DROP_INVALID));
void StreamTcpStreamCleanup(TcpStream *stream);
/* check if bypass is enabled */
int StreamTcpBypassEnabled(void);
-int StreamTcpInlineDropInvalid(void);
int StreamTcpInlineMode(void);
int TcpSessionPacketSsnReuse(const Packet *p, const Flow *f, const void *tcp_ssn);