ippair-timeout.c File Reference
#include "suricata-common.h"
#include "ippair.h"
#include "ippair-bit.h"
#include "ippair-timeout.h"
#include "detect-engine-threshold.h"
Include dependency graph for ippair-timeout.c:

Go to the source code of this file.


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

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.