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 (struct timeval *ts)
 time out hosts from the hash More...
 
uint32_t HostGetSpareCount (void)
 
uint32_t HostGetActiveCount (void)
 

Detailed Description

Function Documentation

uint32_t HostGetSpareCount ( void  )

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

References HostSpareQueueGetSize().

Here is the call graph for this function:

uint32_t HostTimeoutHash ( struct timeval *  ts)

time out hosts from the hash

Parameters
tstimestamp
Return values
cntnumber of timed out host

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

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