Go to the documentation of this file.
56 SCLogDebug(
"host %p %s", h, busy ?
"still active" :
"timed out");
71 static uint32_t HostHashRowTimeout(HostHashRow *hb,
Host *h,
SCTime_t ts)
85 if (HostHostTimedOut(h,
ts) == 1) {
139 if (hb->tail == NULL) {
145 cnt += HostHashRowTimeout(hb, hb->tail,
ts);
void HostClearMemory(Host *h)
#define HRLOCK_UNLOCK(fb)
int TagHostHasTag(Host *host)
#define SCMutexUnlock(mut)
int HostHasHostBits(Host *host)
int TagTimeoutCheck(Host *host, SCTime_t ts)
Removes the entries exceeding the max timeout value.
int SRepHostTimedOut(Host *h)
Check if a Host is timed out wrt ip rep, meaning a new version is in place.
void HostMoveToSpare(Host *h)
int HostBitsTimedoutCheck(Host *h, SCTime_t ts)
uint32_t HostTimeoutHash(SCTime_t ts)
time out hosts from the hash
#define HRLOCK_TRYLOCK(fb)
#define SC_ATOMIC_GET(name)
Get the value from the atomic variable.
#define SCMutexTrylock(mut)