host-timeout.c File Reference
#include "suricata-common.h"
#include "host.h"
#include "detect-engine-tag.h"
#include "detect-engine-threshold.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.


uint32_t HostGetSpareCount (void)
uint32_t HostGetActiveCount (void)
uint32_t HostTimeoutHash (SCTime_t ts)
 time out hosts from the hash More...

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

Return values
cntnumber of timed out host

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