suricata
|
#include "defrag.h"
Go to the source code of this file.
Functions | |
int | DefragTrackerTimedOut (DefragTracker *dt, SCTime_t ts) |
uint32_t | DefragTimeoutHash (SCTime_t ts) |
time out tracker from the hash More... | |
Definition in file defrag-timeout.h.
uint32_t DefragTimeoutHash | ( | SCTime_t | ts | ) |
time out tracker from the hash
ts | timestamp |
cnt | number of timed out tracker |
Definition at line 122 of file defrag-timeout.c.
References cnt, defrag_config, defragtracker_hash, DRLOCK_TRYLOCK, DRLOCK_UNLOCK, DefragConfig_::hash_size, and DefragTrackerHashRow_::head.
int DefragTrackerTimedOut | ( | DefragTracker * | dt, |
SCTime_t | ts | ||
) |
never prune a trackers that is used by a packet we are currently processing in one of the threads
Definition at line 39 of file defrag-timeout.c.
References DefragTracker_::remove, SC_ATOMIC_GET, SCTIME_CMP_GT, DefragTracker_::timeout, and ts.