suricata
source-pcap.h File Reference
This graph shows which files directly or indirectly include this file:

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 RecievePcap. More...
 
void TmModuleDecodePcapRegister (void)
 Registration Function for DecodePcap. More...
 
void PcapTranslateIPToDevice (char *pcap_dev, size_t len)
 

Detailed Description

Macro Definition Documentation

#define LIBPCAP_COPYWAIT   500

Definition at line 31 of file source-pcap.h.

Referenced by ReceivePcapThreadInit().

#define LIBPCAP_PROMISC   1

Definition at line 32 of file source-pcap.h.

Referenced by RunModeIdsPcapRegister().

#define PCAP_IFACE_NAME_LENGTH   128

needs to be able to contain Windows adapter id's, so must be quite long.

Definition at line 42 of file source-pcap.h.

Typedef Documentation

Function Documentation

void PcapTranslateIPToDevice ( char *  pcap_dev,
size_t  len 
)

Definition at line 623 of file source-pcap.c.

References strlcpy().

Referenced by RegisterAllModules().

Here is the call graph for this function:

Here is the caller graph for this function:

void TmModuleReceivePcapRegister ( void  )