suricata
|
#include "suricata-common.h"
#include "decode.h"
#include "runmodes.h"
#include "runmode-netmap.h"
#include "util-runmodes.h"
#include "util-ioctl.h"
#include "util-byte.h"
#include "util-time.h"
#include "source-netmap.h"
#include "util-conf.h"
#include "suricata.h"
#include "util-bpf.h"
Go to the source code of this file.
uint32_t | max_pending_packets |
const char * | RunModeNetmapGetDefaultMode (void) |
void | RunModeIdsNetmapRegister (void) |
int | RunModeIdsNetmapAutoFp (void) |
int | RunModeIdsNetmapSingle (void) |
Single thread version of the netmap processing. More... | |
int | RunModeIdsNetmapWorkers (void) |
Workers version of the netmap processing. More... | |
Netmap runmode
Definition in file runmode-netmap.c.
int RunModeIdsNetmapAutoFp | ( | void | ) |
Definition at line 440 of file runmode-netmap.c.
References FatalError, SCEnter, and SCReturnInt.
void RunModeIdsNetmapRegister | ( | void | ) |
Definition at line 127 of file runmode-netmap.c.
References RUNMODE_NETMAP, RunModeIdsNetmapSingle(), and RunModeRegisterNewRunMode().
int RunModeIdsNetmapSingle | ( | void | ) |
Single thread version of the netmap processing.
Definition at line 450 of file runmode-netmap.c.
References FatalError, SCEnter, and SCReturnInt.
Referenced by RunModeIdsNetmapRegister().
int RunModeIdsNetmapWorkers | ( | void | ) |
Workers version of the netmap processing.
Start N threads with each thread doing all the work.
Definition at line 463 of file runmode-netmap.c.
References FatalError, SCEnter, and SCReturnInt.
const char* RunModeNetmapGetDefaultMode | ( | void | ) |
Definition at line 55 of file runmode-netmap.c.
uint32_t max_pending_packets |
Maximum packets to simultaneously process.
Definition at line 180 of file suricata.c.