PcapStats64_ Struct Reference

64bit pcap stats counters. More...

Data Fields

uint64_t ps_recv
uint64_t ps_drop
uint64_t ps_ifdrop

Detailed Description

64bit pcap stats counters.

libpcap only supports 32bit counters. They will eventually wrap around.

Keep track of libpcap counters as 64bit counters to keep on counting even if libpcap's 32bit counters wrap around. Requires pcap_stats() to be called before 32bit stats wrap around twice, which we do.

Definition at line 60 of file source-pcap.c.

Field Documentation

◆ ps_drop

uint64_t PcapStats64_::ps_drop

Definition at line 62 of file source-pcap.c.

◆ ps_ifdrop

uint64_t PcapStats64_::ps_ifdrop

Definition at line 63 of file source-pcap.c.

◆ ps_recv

uint64_t PcapStats64_::ps_recv

Definition at line 61 of file source-pcap.c.

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