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

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

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 384 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 129 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: