suricata
|
#include "suricata-common.h"
Go to the source code of this file.
Functions | |
int | RunModeIdsPfringAutoFp (void) |
int | RunModeIdsPfringSingle (void) |
int | RunModeIdsPfringWorkers (void) |
void | RunModeIdsPfringRegister (void) |
const char * | RunModeIdsPfringGetDefaultMode (void) |
Definition in file runmode-pfring.h.
int RunModeIdsPfringAutoFp | ( | void | ) |
Definition at line 436 of file runmode-pfring.c.
References RunModeInitialize(), RunModeSetLiveCaptureAutoFp(), SC_ERR_MISSING_CONFIG_PARAM, SC_ERR_RUNMODE, SCEnter, SCLogError, SCLogInfo, thread_name_autofp, and TimeModeSetLive().
Referenced by RunModeIdsPfringRegister().
const char* RunModeIdsPfringGetDefaultMode | ( | void | ) |
Definition at line 41 of file runmode-pfring.c.
Referenced by RunModeDispatch().
void RunModeIdsPfringRegister | ( | void | ) |
Definition at line 50 of file runmode-pfring.c.
References PfringIfaceConfig_::bpf_filter, PfringIfaceConfig_::checksum_mode, CHECKSUM_VALIDATION_AUTO, CHECKSUM_VALIDATION_DISABLE, CHECKSUM_VALIDATION_ENABLE, CHECKSUM_VALIDATION_RXONLY, CLUSTER_FLOW, PfringIfaceConfig_::cluster_id, CLUSTER_ROUND_ROBIN, ConfFindDeviceConfig(), ConfGet(), ConfGetChildValueBoolWithDefault(), ConfGetChildValueWithDefault(), ConfGetNode(), ConfValIsFalse(), ConfValIsTrue(), PfringIfaceConfig_::ctype, PfringIfaceConfig_::DerefFunc, DisableIfaceOffloading(), PfringIfaceConfig_::flags, GetIfaceOffloading(), GetIfaceRSSQueuesNum(), PfringIfaceConfig_::iface, LiveGetDevice(), LiveGetOffload(), LiveRegisterDevice(), PFRING_CONF_FLAGS_BYPASS, PFRING_CONF_FLAGS_CLUSTER, PFRING_CONF_V1, PFRING_CONF_V2, RUNMODE_PFRING, RunModeIdsPfringAutoFp(), RunModeIdsPfringSingle(), RunModeIdsPfringWorkers(), RunModeRegisterNewRunMode(), SC_ATOMIC_ADD, SC_ATOMIC_INIT, SC_ATOMIC_RESET, SC_ATOMIC_SUB, SC_ERR_BYPASS_NOT_SUPPORTED, SC_ERR_GET_CLUSTER_TYPE_FAILED, SC_ERR_INVALID_ARGUMENT, SC_ERR_INVALID_CLUSTER_TYPE, SC_ERR_MEM_ALLOC, SC_ERR_NIC_OFFLOADING, SCFree, SCLogDebug, SCLogError, SCLogInfo, SCLogPerf, SCLogWarning, SCMalloc, SCStrdup, strlcpy(), PfringIfaceConfig_::threads, unlikely, and UtilCpuGetNumProcessorsOnline().
Referenced by RunModeRegisterRunModes().
int RunModeIdsPfringSingle | ( | void | ) |
Definition at line 473 of file runmode-pfring.c.
References RunModeInitialize(), RunModeSetLiveCaptureSingle(), SC_ERR_MISSING_CONFIG_PARAM, SC_ERR_RUNMODE, SCEnter, SCLogError, SCLogInfo, thread_name_single, and TimeModeSetLive().
Referenced by RunModeIdsPfringRegister().
int RunModeIdsPfringWorkers | ( | void | ) |
Definition at line 510 of file runmode-pfring.c.
References RunModeInitialize(), RunModeSetLiveCaptureWorkers(), SC_ERR_MISSING_CONFIG_PARAM, SC_ERR_RUNMODE, SCEnter, SCLogError, SCLogInfo, thread_name_workers, and TimeModeSetLive().
Referenced by RunModeIdsPfringRegister().