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

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 126 of file host-timeout.c.

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