suricata
NetmapIfaceSettings_ Struct Reference

#include <source-netmap.h>

Data Fields

char iface [NETMAP_IFACE_NAME_LENGTH]
 
bool sw_ring
 
bool promisc
 
bool real
 
bool ips
 
bool threads_auto
 
int threads
 
int copy_mode
 
ChecksumValidationMode checksum_mode
 
const char * bpf_filter
 

Detailed Description

Definition at line 39 of file source-netmap.h.

Field Documentation

const char* NetmapIfaceSettings_::bpf_filter

Definition at line 54 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

ChecksumValidationMode NetmapIfaceSettings_::checksum_mode

Definition at line 53 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

int NetmapIfaceSettings_::copy_mode

Definition at line 52 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

char NetmapIfaceSettings_::iface[NETMAP_IFACE_NAME_LENGTH]

Definition at line 42 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

bool NetmapIfaceSettings_::ips

set to true if checksum_mode != NETMAP_COPY_MODE_NONE

Definition at line 48 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

bool NetmapIfaceSettings_::promisc

Definition at line 46 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

bool NetmapIfaceSettings_::real

real iface or not. Not in case of vale, pipe

Definition at line 47 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

bool NetmapIfaceSettings_::sw_ring

Definition at line 45 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

int NetmapIfaceSettings_::threads

Definition at line 51 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister(), and TmModuleDecodeNetmapRegister().

bool NetmapIfaceSettings_::threads_auto

Definition at line 49 of file source-netmap.h.

Referenced by RunModeIdsNetmapRegister().


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