Struct caracat::receiver::ReceiverStatistics
source · pub struct ReceiverStatistics {
pub pcap_received: u32,
pub pcap_dropped: u32,
pub pcap_if_dropped: u32,
pub received: u64,
pub received_invalid: u64,
pub icmp_messages_incl_dest: HashSet<Ipv6Addr>,
pub icmp_messages_excl_dest: HashSet<Ipv6Addr>,
}
Fields§
§pcap_received: u32
Number of packets received.
pcap_dropped: u32
Number of packets dropped because there was no room in the operating system’s buffer when they arrived, because packets weren’t being read fast enough.
pcap_if_dropped: u32
Number of packets dropped by the network interface or its driver.
received: u64
§received_invalid: u64
§icmp_messages_incl_dest: HashSet<Ipv6Addr>
§icmp_messages_excl_dest: HashSet<Ipv6Addr>
Trait Implementations§
source§impl Clone for ReceiverStatistics
impl Clone for ReceiverStatistics
source§fn clone(&self) -> ReceiverStatistics
fn clone(&self) -> ReceiverStatistics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReceiverStatistics
impl Debug for ReceiverStatistics
source§impl Default for ReceiverStatistics
impl Default for ReceiverStatistics
source§fn default() -> ReceiverStatistics
fn default() -> ReceiverStatistics
Returns the “default value” for a type. Read more