mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
453 B
C
21 lines
453 B
C
/* Copyright (c) 2009 Victor Julien <victor@inliniac.net> */
|
|
|
|
#ifndef __SOURCE_PCAP_H__
|
|
#define __SOURCE_PCAP_H__
|
|
|
|
void TmModuleReceivePcapRegister (void);
|
|
void TmModuleDecodePcapRegister (void);
|
|
|
|
/* XXX replace with user configurable options */
|
|
#define LIBPCAP_SNAPLEN 1518
|
|
#define LIBPCAP_COPYWAIT 500
|
|
#define LIBPCAP_PROMISC 1
|
|
|
|
/* per packet Pcap vars */
|
|
typedef struct PcapPacketVars_
|
|
{
|
|
} PcapPacketVars;
|
|
|
|
#endif /* __SOURCE_PCAP_H__ */
|
|
|