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

Go to the source code of this file.


uint32_t IPPairTimeoutHash (SCTime_t ts)
 time out ippairs from the hash More...
uint32_t IPPairGetSpareCount (void)
uint32_t IPPairGetActiveCount (void)

Detailed Description

Function Documentation

◆ IPPairGetActiveCount()

uint32_t IPPairGetActiveCount ( void  )

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

References SC_ATOMIC_GET.

◆ IPPairGetSpareCount()

uint32_t IPPairGetSpareCount ( void  )

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

References IPPairSpareQueueGetSize().

Here is the call graph for this function:

◆ IPPairTimeoutHash()

uint32_t IPPairTimeoutHash ( SCTime_t  ts)

time out ippairs from the hash

Return values
cntnumber of timed out ippair

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

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