suricata
AFPPeer_ Struct Reference

#include <source-af-packet.h>

Collaboration diagram for AFPPeer_:

Public Member Functions

 SC_ATOMIC_DECLARE (int, socket)
 
 SC_ATOMIC_DECLARE (int, sock_usage)
 
 SC_ATOMIC_DECLARE (int, if_idx)
 
 SC_ATOMIC_DECLARE (uint64_t, send_errors)
 
 SC_ATOMIC_DECLARE (uint8_t, state)
 
 TAILQ_ENTRY (AFPPeer_) next
 

Data Fields

int flags
 
SCMutex sock_protect
 
int turn
 
struct AFPPeer_peer
 
char iface [AFP_IFACE_NAME_LENGTH]
 

Detailed Description

Definition at line 123 of file source-af-packet.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE() [1/5]

AFPPeer_::SC_ATOMIC_DECLARE ( int  ,
if_idx   
)

◆ SC_ATOMIC_DECLARE() [2/5]

AFPPeer_::SC_ATOMIC_DECLARE ( int  ,
sock_usage   
)

◆ SC_ATOMIC_DECLARE() [3/5]

AFPPeer_::SC_ATOMIC_DECLARE ( int  ,
socket   
)

◆ SC_ATOMIC_DECLARE() [4/5]

AFPPeer_::SC_ATOMIC_DECLARE ( uint64_t  ,
send_errors   
)

◆ SC_ATOMIC_DECLARE() [5/5]

AFPPeer_::SC_ATOMIC_DECLARE ( uint8_t  ,
state   
)

◆ TAILQ_ENTRY()

AFPPeer_::TAILQ_ENTRY ( AFPPeer_  )

Field Documentation

◆ flags

int AFPPeer_::flags

Definition at line 128 of file source-af-packet.h.

◆ iface

char AFPPeer_::iface[AFP_IFACE_NAME_LENGTH]

Definition at line 134 of file source-af-packet.h.

◆ peer

struct AFPPeer_* AFPPeer_::peer

Definition at line 132 of file source-af-packet.h.

◆ sock_protect

SCMutex AFPPeer_::sock_protect

Definition at line 129 of file source-af-packet.h.

◆ turn

int AFPPeer_::turn

Field used to store initialisation order.

Definition at line 130 of file source-af-packet.h.


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