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

Go to the source code of this file.

Functions

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

Detailed Description

Function Documentation

◆ IPPairTimeoutHash()

uint32_t IPPairTimeoutHash ( SCTime_t  ts)

time out ippairs from the hash

Parameters
tstimestamp
Return values
cntnumber of timed out ippair

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

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