suricata
|
#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] |
int | mtu |
bool | tenant_id_set |
uint16_t | id |
uint32_t | tenant_id |
uint32_t | offload_orig |
Storage | storage [] |
storage for live device names
Definition at line 50 of file util-device.h.
LiveDevice_::SC_ATOMIC_DECLARE | ( | uint64_t | , |
bypassed | |||
) |
LiveDevice_::SC_ATOMIC_DECLARE | ( | uint64_t | , |
drop | |||
) |
LiveDevice_::SC_ATOMIC_DECLARE | ( | uint64_t | , |
invalid_checksums | |||
) |
LiveDevice_::SC_ATOMIC_DECLARE | ( | uint64_t | , |
pkts | |||
) |
LiveDevice_::TAILQ_ENTRY | ( | LiveDevice_ | ) |
char* LiveDevice_::dev |
the device (e.g. "eth0")
Definition at line 51 of file util-device.h.
Referenced by DPDKCloseDevice(), DPDKFreeDevice(), GetIfaceMaxPacketSize(), LiveGetDevice(), LiveGetDeviceName(), and LiveRegisterDevice().
char LiveDevice_::dev_short[MAX_DEVNAME+1] |
Definition at line 52 of file util-device.h.
Referenced by LiveGetShortName().
uint16_t LiveDevice_::id |
Definition at line 56 of file util-device.h.
int LiveDevice_::mtu |
Definition at line 53 of file util-device.h.
Referenced by GetIfaceMaxPacketSize().
uint32_t LiveDevice_::offload_orig |
original offload settings to restore @exit
Definition at line 65 of file util-device.h.
Referenced by DisableIfaceOffloading(), and RestoreIfaceOffloading().
Storage LiveDevice_::storage[] |
storage handle as a flex array member
Definition at line 71 of file util-device.h.
Referenced by LiveDevFreeStorage(), LiveDevGetStorageById(), and LiveDevSetStorageById().
uint32_t LiveDevice_::tenant_id |
tenant id in multi-tenancy
Definition at line 64 of file util-device.h.
bool LiveDevice_::tenant_id_set |
Definition at line 54 of file util-device.h.