suricata
source-napatech.h
Go to the documentation of this file.
1
/* Copyright (C) 2012-2017 Open Information Security Foundation
2
*
3
* You can copy, redistribute or modify this Program under the terms of
4
* the GNU General Public License version 2 as published by the Free
5
* Software Foundation.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* version 2 along with this program; if not, write to the Free Software
14
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15
* 02110-1301, USA.
16
*/
17
18
/**
19
* \file
20
*
21
* \author nPulse Technologies, LLC.
22
* \author Matt Keeler <mk@npulsetech.com>
23
*/
24
#ifndef SURICATA_SOURCE_NAPATECH_H
25
#define SURICATA_SOURCE_NAPATECH_H
26
27
void
TmModuleNapatechStreamRegister
(
void
);
28
TmEcode
NapatechStreamThreadDeinit
(
ThreadVars
*
tv
,
void
*data);
29
void
TmModuleNapatechDecodeRegister
(
void
);
30
31
#ifdef HAVE_NAPATECH
32
#include <nt.h>
33
34
struct
NapatechStreamDevConf
35
{
36
uint16_t
stream_id
;
37
};
38
39
int
NapatechSetPortmap
(
int
port,
int
peer);
40
int
NapatechGetAdapter
(uint8_t port);
41
42
#endif
/* HAVE_NAPATECH */
43
#endif
/* SURICATA_SOURCE_NAPATECH_H */
TmModuleNapatechDecodeRegister
void TmModuleNapatechDecodeRegister(void)
Register the Napatech decoder module.
Definition:
source-napatech.c:192
NapatechSetPortmap
int NapatechSetPortmap(int port, int peer)
NapatechStreamDevConf
Definition:
source-napatech.h:35
NapatechStreamDevConf::stream_id
uint16_t stream_id
Definition:
source-napatech.h:36
TmModuleNapatechStreamRegister
void TmModuleNapatechStreamRegister(void)
Register the Napatech receiver (reader) module.
Definition:
source-napatech.c:174
ThreadVars_
Per thread variable structure.
Definition:
threadvars.h:57
NapatechGetAdapter
int NapatechGetAdapter(uint8_t port)
TmEcode
TmEcode
Definition:
tm-threads-common.h:83
NapatechStreamThreadDeinit
TmEcode NapatechStreamThreadDeinit(ThreadVars *tv, void *data)
Deinitializes the NAPATECH card.
Definition:
source-napatech.c:1043
tv
ThreadVars * tv
Definition:
fuzz_decodepcapfile.c:32
src
source-napatech.h
Generated on Mon Apr 22 2024 23:30:43 for suricata by
1.8.18