suricata
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
 
Storage storage []
 

Detailed Description

Definition at line 58 of file host.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE()

Host_::SC_ATOMIC_DECLARE ( unsigned int  ,
use_cnt   
)

use cnt, reference counter

Field Documentation

◆ a

Address Host_::a

host address – ipv4 or ipv6

Definition at line 63 of file host.h.

◆ hnext

struct Host_* Host_::hnext

hash pointers, protected by hash row mutex/spin

Definition at line 72 of file host.h.

Referenced by HostCleanup().

◆ hprev

struct Host_* Host_::hprev

Definition at line 73 of file host.h.

Referenced by HostCleanup().

◆ iprep

void* Host_::iprep

pointers to iprep storage

Definition at line 69 of file host.h.

Referenced by HostCleanup(), HostClearMemory(), SRepFreeHostData(), and SRepHostTimedOut().

◆ lnext

struct Host_* Host_::lnext

list pointers, protected by host-queue mutex/spin

Definition at line 76 of file host.h.

Referenced by HostDequeue(), and HostEnqueue().

◆ lprev

struct Host_* Host_::lprev

Definition at line 77 of file host.h.

Referenced by HostDequeue(), and HostEnqueue().

◆ m

SCMutex Host_::m

host mutex

Definition at line 60 of file host.h.

Referenced by HostFree(), HostLock(), HostRelease(), and HostUnlock().

◆ storage

Storage Host_::storage[]

storage api handle

Definition at line 80 of file host.h.

Referenced by HostAllocStorageById(), HostFreeStorage(), HostGetStorageById(), and HostSetStorageById().


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