27#ifndef SURICATA_SOURCE_PCAP_FILE_HELPER_H
28#define SURICATA_SOURCE_PCAP_FILE_HELPER_H
87#if defined(HAVE_SETVBUF) && defined(OS_LINUX)
int(* DecoderFunc)(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len)
TmEcode InitPcapFile(PcapFileFileVars *pfv)
struct PcapFileFileVars_ PcapFileFileVars
const char * PcapFileGetFilename(void)
TmEcode PcapFileDispatch(PcapFileFileVars *ptv)
Main PCAP file reading Loop function.
TmEcode ValidateLinkType(int datalink, DecoderFunc *decoder)
void CleanupPcapFileFileVars(PcapFileFileVars *pfv)
struct PcapFileSharedVars_ PcapFileSharedVars
struct PcapFileGlobalVars_ PcapFileGlobalVars
struct timeval first_pkt_ts
PcapFileSharedVars * shared
struct pcap_pkthdr * first_pkt_hdr
const u_char * first_pkt_data
struct bpf_program filter
uint32_t read_buffer_size
SC_ATOMIC_DECLARE(unsigned int, invalid_checksums)
ChecksumValidationMode checksum_mode
ChecksumValidationMode conf_checksum_mode
struct timespec last_processed
Per thread variable structure.