suricata
util-napatech.h File Reference
#include <nt.h>
Include dependency graph for util-napatech.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NapatechPacketVars_
 
struct  NapatechStreamConfig_
 
struct  NapatechCurrentStats_
 

Macros

#define MAX_STREAMS   256
 

Typedefs

typedef struct NapatechPacketVars_ NapatechPacketVars
 
typedef struct NapatechStreamConfig_ NapatechStreamConfig
 
typedef struct NapatechCurrentStats_ NapatechCurrentStats
 

Functions

void NapatechStartStats (void)
 
uint16_t NapatechGetNumaNode (uint16_t stream_id)
 
NapatechCurrentStats NapatechGetCurrentStats (uint16_t id)
 
uint16_t NapatechGetStreamConfig (NapatechStreamConfig stream_config[])
 

Detailed Description

Author
Phil Young py@na.nosp@m.pate.nosp@m.ch.co.nosp@m.m

Definition in file util-napatech.h.

Macro Definition Documentation

#define MAX_STREAMS   256

Definition at line 52 of file util-napatech.h.

Typedef Documentation

Function Documentation

uint16_t NapatechGetNumaNode ( uint16_t  stream_id)

Definition at line 35 of file util-napatech.c.

References SC_ERR_NAPATECH_INIT_FAILED, SC_ERR_NAPATECH_STREAMS_REGISTER_FAILED, and SCLogError.

Referenced by NapatechPacketLoopZC().

Here is the caller graph for this function:

void NapatechStartStats ( void  )

Definition at line 695 of file util-napatech.c.

References SC_ERR_THREAD_CREATE, SC_ERR_THREAD_SPAWN, SCLogError, TmThreadCreate(), and TmThreadSpawn().

Referenced by RunModeNapatechRegister().

Here is the call graph for this function:

Here is the caller graph for this function: