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...
 
uint32_t HostGetSpareCount (void)
 
uint32_t HostGetActiveCount (void)
 

Detailed Description

Function Documentation

◆ HostGetActiveCount()

uint32_t HostGetActiveCount ( void  )

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

References SC_ATOMIC_GET.

◆ HostGetSpareCount()

uint32_t HostGetSpareCount ( void  )

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

References HostSpareQueueGetSize().

Here is the call graph for this function:

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