suricata
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.

Functions

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

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.