suricata
PcapFileSharedVars_ Struct Reference

#include <source-pcap-file-helper.h>

Collaboration diagram for PcapFileSharedVars_:

Data Fields

char * bpf_string
 
uint32_t tenant_id
 
struct timespec last_processed
 
bool should_delete
 
ThreadVarstv
 
TmSlotslot
 
uint64_t pkts
 
uint64_t bytes
 
uint64_t files
 
uint8_t done
 
uint32_t errs
 
int cb_result
 

Detailed Description

Data that is shared amongst File, Directory, and Thread level vars

Definition at line 40 of file source-pcap-file-helper.h.

Field Documentation

char* PcapFileSharedVars_::bpf_string

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

Referenced by InitPcapFile(), and PcapFileGlobalInit().

uint64_t PcapFileSharedVars_::bytes

Definition at line 55 of file source-pcap-file-helper.h.

Referenced by CleanupPcapFileFileVars(), and PcapFileGlobalInit().

int PcapFileSharedVars_::cb_result

callback result – set if one of the thread module failed.

Definition at line 62 of file source-pcap-file-helper.h.

Referenced by CleanupPcapFileFileVars(), PcapFileDispatch(), and PcapFileGlobalInit().

uint8_t PcapFileSharedVars_::done

Definition at line 58 of file source-pcap-file-helper.h.

uint32_t PcapFileSharedVars_::errs

Definition at line 59 of file source-pcap-file-helper.h.

uint64_t PcapFileSharedVars_::files

Definition at line 56 of file source-pcap-file-helper.h.

Referenced by PcapFileDispatch(), and PcapFileGlobalInit().

struct timespec PcapFileSharedVars_::last_processed
uint64_t PcapFileSharedVars_::pkts

Definition at line 54 of file source-pcap-file-helper.h.

Referenced by CleanupPcapFileFileVars(), and PcapFileGlobalInit().

bool PcapFileSharedVars_::should_delete

Definition at line 48 of file source-pcap-file-helper.h.

Referenced by CleanupPcapFileFileVars(), and PcapFileGlobalInit().

TmSlot* PcapFileSharedVars_::slot

Definition at line 51 of file source-pcap-file-helper.h.

Referenced by CleanupPcapFileFileVars(), and PcapFileGlobalInit().

uint32_t PcapFileSharedVars_::tenant_id

Definition at line 44 of file source-pcap-file-helper.h.

Referenced by CleanupPcapFileFileVars(), and PcapFileGlobalInit().

ThreadVars* PcapFileSharedVars_::tv

The documentation for this struct was generated from the following file: