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


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...

Detailed Description

nPulse Technologies, LLC.
Matt Keeler

Definition in file source-napatech.h.

Function Documentation

TmEcode NapatechStreamThreadDeinit ( ThreadVars tv,
void *  data 

Deinitializes the NAPATECH card.

tvpointer to ThreadVars
datapointer that gets cast into PcapThreadVars for ptv

Definition at line 523 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:

void TmModuleNapatechDecodeRegister ( void  )

Register the Napatech decoder module.

Definition at line 148 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: