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

Go to the source code of this file.

Data Structures

struct  NapatechStreamDevConf
 

Functions

void TmModuleNapatechStreamRegister (void)
 Register the Napatech receiver (reader) module. More...
 
TmEcode NapatechStreamThreadDeinit (ThreadVars *tv, void *data)
 Deinitializes the NAPATECH card. More...
 
void TmModuleNapatechDecodeRegister (void)
 Register the Napatech decoder module. More...
 
int NapatechSetPortmap (int port, int peer)
 
int NapatechGetAdapter (uint8_t port)
 

Detailed Description

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

Definition in file source-napatech.h.

Function Documentation

◆ NapatechGetAdapter()

int NapatechGetAdapter ( uint8_t  port)

◆ NapatechSetPortmap()

int NapatechSetPortmap ( int  port,
int  peer 
)

◆ NapatechStreamThreadDeinit()

TmEcode NapatechStreamThreadDeinit ( ThreadVars tv,
void *  data 
)

Deinitializes the NAPATECH card.

Parameters
tvpointer to ThreadVars
datapointer that gets cast into PcapThreadVars for ptv

Definition at line 1086 of file source-napatech.c.

References NapatechThreadVars_::rx_stream, SCEnter, SCLogDebug, SCReturnInt, NapatechThreadVars_::stream_id, and TM_ECODE_OK.

Referenced by TmModuleNapatechStreamRegister().

Here is the caller graph for this function:

◆ TmModuleNapatechDecodeRegister()

void TmModuleNapatechDecodeRegister ( void  )

Register the Napatech decoder module.

Definition at line 163 of file source-napatech.c.

References TmModule_::cap_flags, TmModule_::flags, TmModule_::Func, TmModule_::name, NapatechDecode(), NapatechDecodeThreadDeinit(), NapatechDecodeThreadInit(), TmModule_::RegisterTests, TmModule_::ThreadDeinit, TmModule_::ThreadExitPrintStats, TmModule_::ThreadInit, TM_FLAG_DECODE_TM, TMM_DECODENAPATECH, and tmm_modules.

Referenced by RegisterAllModules().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TmModuleNapatechStreamRegister()