suricata
|
#include "suricata-common.h"
#include "defrag-stack.h"
#include "util-error.h"
#include "util-debug.h"
#include "util-print.h"
Go to the source code of this file.
Functions | |
DefragTrackerStack * | DefragTrackerStackInit (DefragTrackerStack *q) |
void | DefragTrackerStackDestroy (DefragTrackerStack *q) |
Destroy a tracker queue. More... | |
void | DefragTrackerEnqueue (DefragTrackerStack *q, DefragTracker *dt) |
add a tracker to a queue More... | |
DefragTracker * | DefragTrackerDequeue (DefragTrackerStack *q) |
remove a tracker from the queue More... | |
Defrag tracker queue handler functions
Definition in file defrag-stack.c.
DefragTracker* DefragTrackerDequeue | ( | DefragTrackerStack * | q | ) |
remove a tracker from the queue
q | queue |
dt | tracker or NULL if empty list. |
Definition at line 81 of file defrag-stack.c.
References BUG_ON, DQLOCK_LOCK, DQLOCK_UNLOCK, DefragTrackerStack_::len, DefragTracker_::lnext, and DefragTrackerStack_::s.
Referenced by DefragHashShutdown().
void DefragTrackerEnqueue | ( | DefragTrackerStack * | q, |
DefragTracker * | dt | ||
) |
add a tracker to a queue
q | queue |
dt | tracker |
Definition at line 57 of file defrag-stack.c.
References BUG_ON, DQLOCK_LOCK, DQLOCK_UNLOCK, DefragTrackerStack_::len, DefragTracker_::lnext, and DefragTrackerStack_::s.
Referenced by DefragTrackerMoveToSpare().
void DefragTrackerStackDestroy | ( | DefragTrackerStack * | q | ) |
Destroy a tracker queue.
q | the tracker queue to destroy |
Definition at line 46 of file defrag-stack.c.
References DQLOCK_DESTROY.
DefragTrackerStack* DefragTrackerStackInit | ( | DefragTrackerStack * | q | ) |
Definition at line 32 of file defrag-stack.c.
References DQLOCK_INIT.
Referenced by DefragInitConfig().