Host_ Struct Reference

#include <host.h>

Collaboration diagram for Host_:

Public Member Functions

 SC_ATOMIC_DECLARE (unsigned int, use_cnt)

Data Fields

SCMutex m
Address a
void * iprep
struct Host_hnext
struct Host_hprev
struct Host_lnext
struct Host_lprev

Detailed Description

Definition at line 58 of file host.h.

Member Function Documentation

Host_::SC_ATOMIC_DECLARE ( unsigned  int,

use cnt, reference counter

Field Documentation

Address Host_::a

host address – ipv4 or ipv6

Definition at line 63 of file host.h.

Referenced by HostFree().

struct Host_* Host_::hnext

hash pointers, protected by hash row mutex/spin

Definition at line 75 of file host.h.

Referenced by HostCleanup(), HostGetActiveCount(), HostGetHostFromHash(), HostLookupHostFromHash(), and HostShutdown().

struct Host_* Host_::hprev
void* Host_::iprep

pointers to iprep storage

Definition at line 69 of file host.h.

Referenced by DetectIPRepRegister(), HostCleanup(), HostClearMemory(), HostGetActiveCount(), SRepHostTimedOut(), and SRepLoadFileFromFD().

struct Host_* Host_::lnext

list pointers, protected by host-queue mutex/spin

Definition at line 79 of file host.h.

Referenced by HostDequeue(), and HostEnqueue().

struct Host_* Host_::lprev

Definition at line 80 of file host.h.

Referenced by HostDequeue(), and HostEnqueue().

Storage* Host_::storage

storage api handle

Definition at line 72 of file host.h.

The documentation for this struct was generated from the following file: