73 BUG_ON(q == NULL || h == NULL);
90 if (q->
len > q->dbg_maxlen)
91 q->dbg_maxlen = q->
len;
IPPairQueue * IPPairQueueNew()
void IPPairEnqueue(IPPairQueue *q, IPPair *h)
add a ippair to a queue
#define HQLOCK_DESTROY(q)
#define SCLogError(err_code,...)
Macro used to log ERROR messages.
void IPPairQueueDestroy(IPPairQueue *q)
Destroy a ippair queue.
uint32_t IPPairQueueLen(IPPairQueue *q)
IPPairQueue * IPPairQueueInit(IPPairQueue *q)
IPPair * IPPairDequeue(IPPairQueue *q)
remove a ippair from the queue