suricata
runmode-napatech.c File Reference
#include "suricata-common.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"
#include "output.h"
#include "util-debug.h"
#include "util-time.h"
#include "util-cpu.h"
#include "util-affinity.h"
#include "util-runmodes.h"
#include "util-device.h"
#include "util-napatech.h"
#include "runmode-napatech.h"
#include "source-napatech.h"
Include dependency graph for runmode-napatech.c:

Go to the source code of this file.

Macros

#define NT_RUNMODE_AUTOFP   1
 
#define NT_RUNMODE_WORKERS   2
 
#define MAX_STREAMS   256
 

Functions

uint16_t NapatechGetNumConfiguredStreams (void)
 
uint16_t NapatechGetNumFirstStream (void)
 
uint16_t NapatechGetNumLastStream (void)
 
bool NapatechIsAutoConfigEnabled (void)
 
const char * RunModeNapatechGetDefaultMode (void)
 
void RunModeNapatechRegister (void)
 
int RunModeNapatechAutoFp (void)
 
int RunModeNapatechWorkers (void)
 

Detailed Description

Author
nPulse Technologies, LLC.
Matt Keeler mk@np.nosp@m.ulse.nosp@m.tech..nosp@m.com

Definition in file runmode-napatech.c.

Macro Definition Documentation

#define MAX_STREAMS   256

Definition at line 45 of file runmode-napatech.c.

Referenced by RunModeNapatechRegister().

#define NT_RUNMODE_AUTOFP   1

Definition at line 40 of file runmode-napatech.c.

Referenced by RunModeNapatechAutoFp().

#define NT_RUNMODE_WORKERS   2

Definition at line 41 of file runmode-napatech.c.

Referenced by RunModeNapatechRegister(), and RunModeNapatechWorkers().

Function Documentation

uint16_t NapatechGetNumConfiguredStreams ( void  )

Definition at line 51 of file runmode-napatech.c.

Referenced by NapatechPacketLoopZC(), and NapatechStreamThreadExitStats().

Here is the caller graph for this function:

uint16_t NapatechGetNumFirstStream ( void  )

Definition at line 56 of file runmode-napatech.c.

Referenced by NapatechPacketLoopZC().

Here is the caller graph for this function:

uint16_t NapatechGetNumLastStream ( void  )

Definition at line 61 of file runmode-napatech.c.

Referenced by NapatechPacketLoopZC().

Here is the caller graph for this function:

bool NapatechIsAutoConfigEnabled ( void  )

Definition at line 66 of file runmode-napatech.c.

Referenced by NapatechGetStreamConfig(), and NapatechPacketLoopZC().

Here is the caller graph for this function:

int RunModeNapatechAutoFp ( void  )

Definition at line 242 of file runmode-napatech.c.

References NT_RUNMODE_AUTOFP.

const char* RunModeNapatechGetDefaultMode ( void  )

Definition at line 73 of file runmode-napatech.c.

Referenced by RunModeDispatch().

Here is the caller graph for this function:

int RunModeNapatechWorkers ( void  )

Definition at line 247 of file runmode-napatech.c.

References NT_RUNMODE_WORKERS.

Referenced by RunModeNapatechRegister().

Here is the caller graph for this function: