suricata
host-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 HostTimeoutHash (SCTime_t ts)
 time out hosts from the hash More...
 

Detailed Description

Function Documentation

◆ HostTimeoutHash()

uint32_t HostTimeoutHash ( SCTime_t  ts)

time out hosts from the hash

Parameters
tstimestamp
Return values
cntnumber of timed out host

Definition at line 128 of file host-timeout.c.

References cnt, HostConfig_::hash_size, host_config, host_hash, HRLOCK_TRYLOCK, and HRLOCK_UNLOCK.