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