suricata
|
Go to the source code of this file.
Data Structures | |
struct | PcapPacketVars_ |
struct | PcapIfaceConfig_ |
Macros | |
#define | LIBPCAP_COPYWAIT 500 |
#define | LIBPCAP_PROMISC 1 |
#define | PCAP_IFACE_NAME_LENGTH 128 |
Typedefs | |
typedef struct PcapPacketVars_ | PcapPacketVars |
typedef struct PcapIfaceConfig_ | PcapIfaceConfig |
Functions | |
void | TmModuleReceivePcapRegister (void) |
Registration Function for ReceivePcap. More... | |
void | TmModuleDecodePcapRegister (void) |
Registration Function for DecodePcap. More... | |
void | PcapTranslateIPToDevice (char *pcap_dev, size_t len) |
Definition in file source-pcap.h.
#define LIBPCAP_COPYWAIT 500 |
Definition at line 32 of file source-pcap.h.
#define LIBPCAP_PROMISC 1 |
Definition at line 33 of file source-pcap.h.
#define PCAP_IFACE_NAME_LENGTH 128 |
needs to be able to contain Windows adapter id's, so must be quite long.
Definition at line 43 of file source-pcap.h.
typedef struct PcapIfaceConfig_ PcapIfaceConfig |
typedef struct PcapPacketVars_ PcapPacketVars |
void PcapTranslateIPToDevice | ( | char * | pcap_dev, |
size_t | len | ||
) |
Definition at line 656 of file source-pcap.c.
References len, and strlcpy().
void TmModuleDecodePcapRegister | ( | void | ) |
Registration Function for DecodePcap.
Definition at line 153 of file source-pcap.c.
References TmModule_::name, TmModule_::ThreadInit, TMM_DECODEPCAP, and tmm_modules.
Referenced by RegisterAllModules().
void TmModuleReceivePcapRegister | ( | void | ) |
Registration Function for ReceivePcap.
Definition at line 135 of file source-pcap.c.
References TmModule_::name, TmModule_::ThreadInit, tmm_modules, and TMM_RECEIVEPCAP.
Referenced by RegisterAllModules().