suricata
LiveDevice_ Struct Reference

#include <util-device.h>

Public Member Functions

 SC_ATOMIC_DECLARE (uint64_t, pkts)
 
 SC_ATOMIC_DECLARE (uint64_t, drop)
 
 SC_ATOMIC_DECLARE (uint64_t, bypassed)
 
 SC_ATOMIC_DECLARE (uint64_t, invalid_checksums)
 
 TAILQ_ENTRY (LiveDevice_) next
 

Data Fields

char * dev
 
char dev_short [MAX_DEVNAME+1]
 
bool tenant_id_set
 
int id
 
uint32_t tenant_id
 
uint32_t offload_orig
 

Detailed Description

storage for live device names

Definition at line 40 of file util-device.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE() [1/4]

LiveDevice_::SC_ATOMIC_DECLARE ( uint64_t  ,
bypassed   
)

◆ SC_ATOMIC_DECLARE() [2/4]

LiveDevice_::SC_ATOMIC_DECLARE ( uint64_t  ,
drop   
)

◆ SC_ATOMIC_DECLARE() [3/4]

LiveDevice_::SC_ATOMIC_DECLARE ( uint64_t  ,
invalid_checksums   
)

◆ SC_ATOMIC_DECLARE() [4/4]

LiveDevice_::SC_ATOMIC_DECLARE ( uint64_t  ,
pkts   
)

◆ TAILQ_ENTRY()

LiveDevice_::TAILQ_ENTRY ( LiveDevice_  )

Field Documentation

◆ dev

char* LiveDevice_::dev

the device (e.g. "eth0")

Definition at line 41 of file util-device.h.

Referenced by LiveGetDevice(), LiveGetDeviceName(), and LiveRegisterDevice().

◆ dev_short

char LiveDevice_::dev_short[MAX_DEVNAME+1]

Definition at line 42 of file util-device.h.

Referenced by LiveGetShortName().

◆ id

int LiveDevice_::id

Definition at line 45 of file util-device.h.

◆ offload_orig

uint32_t LiveDevice_::offload_orig

original offload settings to restore @exit

Definition at line 54 of file util-device.h.

Referenced by DisableIfaceOffloading(), and RestoreIfaceOffloading().

◆ tenant_id

uint32_t LiveDevice_::tenant_id

tenant id in multi-tenancy

Definition at line 53 of file util-device.h.

◆ tenant_id_set

bool LiveDevice_::tenant_id_set

Definition at line 43 of file util-device.h.


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