@ -178,6 +178,13 @@ typedef struct AppLayerParserState_ AppLayerParserState;
/** \todo only used by flow keyword internally. */
/** \todo only used by flow keyword internally. */
# define FLOW_PKT_ONLYSTREAM 0x80
# define FLOW_PKT_ONLYSTREAM 0x80
# define FLOW_END_FLAG_STATE_NEW 0x01
# define FLOW_END_FLAG_STATE_ESTABLISHED 0x02
# define FLOW_END_FLAG_STATE_CLOSED 0x04
# define FLOW_END_FLAG_EMERGENCY 0x08
# define FLOW_END_FLAG_TIMEOUT 0x10
# define FLOW_END_FLAG_FORCED 0x20
/** Mutex or RWLocks for the flow. */
/** Mutex or RWLocks for the flow. */
//#define FLOWLOCK_RWLOCK
//#define FLOWLOCK_RWLOCK
# define FLOWLOCK_MUTEX
# define FLOWLOCK_MUTEX
@ -334,7 +341,9 @@ typedef struct Flow_
/** mapping to Flow's protocol specific protocols for timeouts
/** mapping to Flow's protocol specific protocols for timeouts
and state and free functions . */
and state and free functions . */
uint8_t protomap ;
uint8_t protomap ;
uint8_t pad0 ;
uint8_t flow_end_flags ;
/* coccinelle: Flow:flow_end_flags:FLOW_END_FLAG_ */
AppProto alproto ; /**< \brief application level protocol */
AppProto alproto ; /**< \brief application level protocol */
AppProto alproto_ts ;
AppProto alproto_ts ;