suricata
ippair-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 IPPairTimeoutHash (struct timeval *ts)
 time out ippairs from the hash More...
 
uint32_t IPPairGetSpareCount (void)
 
uint32_t IPPairGetActiveCount (void)
 

Detailed Description

Function Documentation

uint32_t IPPairGetSpareCount ( void  )

Definition at line 30 of file ippair-timeout.c.

References IPPairSpareQueueGetSize().

Here is the call graph for this function:

uint32_t IPPairTimeoutHash ( struct timeval *  ts)

time out ippairs from the hash

Parameters
tstimestamp
Return values
cntnumber of timed out ippair

Definition at line 142 of file ippair-timeout.c.

References IPPairConfig_::hash_size, HRLOCK_TRYLOCK, HRLOCK_UNLOCK, ippair_config, and ippair_hash.