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]
 
Storagestorage
 
struct IPPair_hnext
 
struct IPPair_hprev
 
struct IPPair_lnext
 
struct IPPair_lprev
 

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 72 of file ippair.h.

Referenced by IPPairCleanup().

◆ hprev

struct IPPair_* IPPair_::hprev

Definition at line 73 of file ippair.h.

Referenced by IPPairCleanup().

◆ lnext

struct IPPair_* IPPair_::lnext

list pointers, protected by ippair-queue mutex/spin

Definition at line 76 of file ippair.h.

Referenced by IPPairDequeue(), and IPPairEnqueue().

◆ lprev

struct IPPair_* IPPair_::lprev

Definition at line 77 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(), IPPairLock(), IPPairRelease(), and IPPairUnlock().

◆ storage

Storage* IPPair_::storage

storage api handle

Definition at line 69 of file ippair.h.


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