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 ignore_checksum
 
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

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

Field Documentation

char LiveDevice_::dev_short[MAX_DEVNAME+1]

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

Referenced by LiveGetShortName(), and LiveRegisterDevice().

int LiveDevice_::id

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

Referenced by DetectEngineReloadTenantBlocking(), and LiveRegisterDevice().

int LiveDevice_::ignore_checksum
uint32_t LiveDevice_::offload_orig

original offload settings to restore

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

Referenced by DisableIfaceOffloading(), GetIfaceMaxPacketSize(), and RestoreIfaceOffloading().

uint32_t LiveDevice_::tenant_id

tenant id in multi-tenancy

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

Referenced by DetectEngineMultiTenantSetup(), and DetectEngineReloadTenantBlocking().

bool LiveDevice_::tenant_id_set

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

Referenced by DetectEngineReloadTenantBlocking().


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