suricata
defrag-timeout.c File Reference
#include "suricata-common.h"
#include "defrag.h"
#include "defrag-hash.h"
#include "defrag-timeout.h"
Include dependency graph for defrag-timeout.c:

Go to the source code of this file.

Functions

uint32_t DefragTimeoutHash (struct timeval *ts)
 time out tracker from the hash More...
 

Detailed Description

Function Documentation

uint32_t DefragTimeoutHash ( struct timeval *  ts)

time out tracker from the hash

Parameters
tstimestamp
Return values
cntnumber of timed out tracker

Definition at line 119 of file defrag-timeout.c.

References defrag_config, defragtracker_hash, DRLOCK_TRYLOCK, DRLOCK_UNLOCK, DefragConfig_::hash_size, and DefragTrackerHashRow_::tail.