Use int16_t instead of a regular int to safe 2 bytes per flow.
SC_ATOMIC_DECLARE(FlowRefCount, use_cnt);
/** flow queue id, used with autofp */
- SC_ATOMIC_DECLARE(int, autofp_tmqh_flow_qid);
+ SC_ATOMIC_DECLARE(int16_t, autofp_tmqh_flow_qid);
uint32_t probing_parser_toserver_alproto_masks;
uint32_t probing_parser_toclient_alproto_masks;
*/
void TmqhOutputFlowRoundRobin(ThreadVars *tv, Packet *p)
{
- int32_t qid = 0;
+ int16_t qid = 0;
TmqhFlowCtx *ctx = (TmqhFlowCtx *)tv->outctx;
*/
void TmqhOutputFlowActivePackets(ThreadVars *tv, Packet *p)
{
- int32_t qid = 0;
+ int16_t qid = 0;
TmqhFlowCtx *ctx = (TmqhFlowCtx *)tv->outctx;
*/
void TmqhOutputFlowHash(ThreadVars *tv, Packet *p)
{
- int32_t qid = 0;
+ int16_t qid = 0;
TmqhFlowCtx *ctx = (TmqhFlowCtx *)tv->outctx;