suricata
defrag-timeout.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Detailed Description

Function Documentation

uint32_t DefragGetActiveCount ( void  )
uint32_t DefragGetSpareCount ( void  )
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.