suricata
IPPair_ Struct Reference

#include <ippair.h>

Collaboration diagram for IPPair_:

Public Member Functions

 SC_ATOMIC_DECLARE (unsigned int, use_cnt)
 

Data Fields

SCMutex m
 
Address a [2]
 
struct IPPair_hnext
 
struct IPPair_hprev
 
struct IPPair_lnext
 
struct IPPair_lprev
 
Storage storage []
 

Detailed Description

Definition at line 58 of file ippair.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE()

IPPair_::SC_ATOMIC_DECLARE ( unsigned int  ,
use_cnt   
)

use cnt, reference counter

Field Documentation

◆ a

Address IPPair_::a[2]

ippair addresses – ipv4 or ipv6

Definition at line 63 of file ippair.h.

◆ hnext

struct IPPair_* IPPair_::hnext

hash pointers, protected by hash row mutex/spin

Definition at line 69 of file ippair.h.

Referenced by IPPairCleanup().

◆ hprev

struct IPPair_* IPPair_::hprev

Definition at line 70 of file ippair.h.

Referenced by IPPairCleanup().

◆ lnext

struct IPPair_* IPPair_::lnext

list pointers, protected by ippair-queue mutex/spin

Definition at line 73 of file ippair.h.

Referenced by IPPairDequeue(), and IPPairEnqueue().

◆ lprev

struct IPPair_* IPPair_::lprev

Definition at line 74 of file ippair.h.

Referenced by IPPairDequeue(), and IPPairEnqueue().

◆ m

SCMutex IPPair_::m

ippair mutex

Definition at line 60 of file ippair.h.

Referenced by IPPairFree(), IPPairRelease(), and IPPairUnlock().

◆ storage

Storage IPPair_::storage[]

storage api handle as a flex array member, so must stay last

Definition at line 77 of file ippair.h.

Referenced by IPPairAllocStorageById(), IPPairFreeStorage(), IPPairGetStorageById(), and IPPairSetStorageById().


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