Struct libzt::zts_stats_counter_t [−][src]
#[repr(C)]pub struct zts_stats_counter_t {}Show fields
pub link_tx: u32, pub link_rx: u32, pub link_drop: u32, pub link_err: u32, pub etharp_tx: u32, pub etharp_rx: u32, pub etharp_drop: u32, pub etharp_err: u32, pub ip4_tx: u32, pub ip4_rx: u32, pub ip4_drop: u32, pub ip4_err: u32, pub ip6_tx: u32, pub ip6_rx: u32, pub ip6_drop: u32, pub ip6_err: u32, pub icmp4_tx: u32, pub icmp4_rx: u32, pub icmp4_drop: u32, pub icmp4_err: u32, pub icmp6_tx: u32, pub icmp6_rx: u32, pub icmp6_drop: u32, pub icmp6_err: u32, pub udp_tx: u32, pub udp_rx: u32, pub udp_drop: u32, pub udp_err: u32, pub tcp_tx: u32, pub tcp_rx: u32, pub tcp_drop: u32, pub tcp_err: u32, pub nd6_tx: u32, pub nd6_rx: u32, pub nd6_drop: u32, pub nd6_err: u32,
Expand description
Structure containing counters for various protocol statistics
Fields
link_tx: u32
Number of link packets transmitted
link_rx: u32
Number of link packets received
link_drop: u32
Number of link packets dropped
link_err: u32
Aggregate number of link-level errors
etharp_tx: u32
Number of etharp packets transmitted
etharp_rx: u32
Number of etharp packets received
etharp_drop: u32
Number of etharp packets dropped
etharp_err: u32
Aggregate number of etharp errors
ip4_tx: u32
Number of IPv4 packets transmitted
ip4_rx: u32
Number of IPv4 packets received
ip4_drop: u32
Number of IPv4 packets dropped
ip4_err: u32
Aggregate number of IPv4 errors
ip6_tx: u32
Number of IPv6 packets transmitted
ip6_rx: u32
Number of IPv6 packets received
ip6_drop: u32
Number of IPv6 packets dropped
ip6_err: u32
Aggregate number of IPv6 errors
icmp4_tx: u32
Number of ICMPv4 packets transmitted
icmp4_rx: u32
Number of ICMPv4 packets received
icmp4_drop: u32
Number of ICMPv4 packets dropped
icmp4_err: u32
Aggregate number of ICMPv4 errors
icmp6_tx: u32
Number of ICMPv6 packets transmitted
icmp6_rx: u32
Number of ICMPv6 packets received
icmp6_drop: u32
Number of ICMPv6 packets dropped
icmp6_err: u32
Aggregate number of ICMPv6 errors
udp_tx: u32
Number of UDP packets transmitted
udp_rx: u32
Number of UDP packets received
udp_drop: u32
Number of UDP packets dropped
udp_err: u32
Aggregate number of UDP errors
tcp_tx: u32
Number of TCP packets transmitted
tcp_rx: u32
Number of TCP packets received
tcp_drop: u32
Number of TCP packets dropped
tcp_err: u32
Aggregate number of TCP errors
nd6_tx: u32
Number of ND6 packets transmitted
nd6_rx: u32
Number of ND6 packets received
nd6_drop: u32
Number of ND6 packets dropped
nd6_err: u32
Aggregate number of ND6 errors
Trait Implementations
impl Clone for zts_stats_counter_t
[src]
impl Clone for zts_stats_counter_t
[src]fn clone(&self) -> zts_stats_counter_t
[src]
fn clone(&self) -> zts_stats_counter_t
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for zts_stats_counter_t
[src]
impl Debug for zts_stats_counter_t
[src]impl Copy for zts_stats_counter_t
[src]
Auto Trait Implementations
impl RefUnwindSafe for zts_stats_counter_t
impl Send for zts_stats_counter_t
impl Sync for zts_stats_counter_t
impl Unpin for zts_stats_counter_t
impl UnwindSafe for zts_stats_counter_t
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more