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 41 of file source-pcap-file-helper.h.

Field Documentation

◆ bpf_string

char* PcapFileSharedVars_::bpf_string

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

Referenced by InitPcapFile().

◆ bytes

uint64_t PcapFileSharedVars_::bytes

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

◆ cb_result

int PcapFileSharedVars_::cb_result

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

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

◆ done

uint8_t PcapFileSharedVars_::done

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

◆ errs

uint32_t PcapFileSharedVars_::errs

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

◆ files

uint64_t PcapFileSharedVars_::files

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

◆ last_processed

struct timespec PcapFileSharedVars_::last_processed

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

◆ pkts

uint64_t PcapFileSharedVars_::pkts

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

◆ should_delete

bool PcapFileSharedVars_::should_delete

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

Referenced by CleanupPcapFileFileVars().

◆ slot

TmSlot* PcapFileSharedVars_::slot

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

◆ tenant_id

uint32_t PcapFileSharedVars_::tenant_id

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

◆ tv

ThreadVars* PcapFileSharedVars_::tv

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


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