#[repr(C)]pub struct otBorderRoutingCounters {
pub mInboundUnicast: otPacketsAndBytes,
pub mInboundMulticast: otPacketsAndBytes,
pub mOutboundUnicast: otPacketsAndBytes,
pub mOutboundMulticast: otPacketsAndBytes,
pub mInboundInternet: otPacketsAndBytes,
pub mOutboundInternet: otPacketsAndBytes,
pub mRaRx: u32,
pub mRaTxSuccess: u32,
pub mRaTxFailure: u32,
pub mRsRx: u32,
pub mRsTxSuccess: u32,
pub mRsTxFailure: u32,
}
Expand description
Represents the counters of packets forwarded via Border Routing.
Fields§
§mInboundUnicast: otPacketsAndBytes
< The counters for inbound unicast.
mInboundMulticast: otPacketsAndBytes
< The counters for inbound multicast.
mOutboundUnicast: otPacketsAndBytes
< The counters for outbound unicast.
mOutboundMulticast: otPacketsAndBytes
< The counters for outbound multicast.
mInboundInternet: otPacketsAndBytes
< The counters for inbound Internet when DHCPv6 PD enabled.
mOutboundInternet: otPacketsAndBytes
< The counters for outbound Internet when DHCPv6 PD enabled.
mRaRx: u32
< The number of received RA packets.
mRaTxSuccess: u32
< The number of RA packets successfully transmitted.
mRaTxFailure: u32
< The number of RA packets failed to transmit.
mRsRx: u32
< The number of received RS packets.
mRsTxSuccess: u32
< The number of RS packets successfully transmitted.
mRsTxFailure: u32
< The number of RS packets failed to transmit.
Trait Implementations§
Source§impl Clone for otBorderRoutingCounters
impl Clone for otBorderRoutingCounters
Source§fn clone(&self) -> otBorderRoutingCounters
fn clone(&self) -> otBorderRoutingCounters
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 otBorderRoutingCounters
impl Debug for otBorderRoutingCounters
Source§impl Default for otBorderRoutingCounters
impl Default for otBorderRoutingCounters
Source§fn default() -> otBorderRoutingCounters
fn default() -> otBorderRoutingCounters
Returns the “default value” for a type. Read more
impl Copy for otBorderRoutingCounters
Auto Trait Implementations§
impl Freeze for otBorderRoutingCounters
impl RefUnwindSafe for otBorderRoutingCounters
impl Send for otBorderRoutingCounters
impl Sync for otBorderRoutingCounters
impl Unpin for otBorderRoutingCounters
impl UnwindSafe for otBorderRoutingCounters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)