pub struct ArpCounters {
pub rx_packets: Counter,
pub rx_malformed_packets: Counter,
pub rx_requests: Counter,
pub rx_responses: Counter,
pub rx_dropped_non_local_target: Counter,
pub tx_requests: Counter,
pub tx_requests_dropped_no_local_addr: Counter,
pub tx_responses: Counter,
}
Expand description
Counters for the ARP layer.
Fields§
§rx_packets: Counter
Count of ARP packets received from the link layer.
rx_malformed_packets: Counter
Count of received ARP packets that were dropped due to being unparsable.
rx_requests: Counter
Count of ARP request packets received.
rx_responses: Counter
Count of ARP response packets received.
rx_dropped_non_local_target: Counter
Count of non-gratuitous ARP packets received and dropped because the destination address is non-local.
tx_requests: Counter
Count of ARP request packets sent.
tx_requests_dropped_no_local_addr: Counter
Count of ARP request packets not sent because the source address was unknown or unassigned.
tx_responses: Counter
Count of ARP response packets sent.
Trait Implementations§
Source§impl Default for ArpCounters
impl Default for ArpCounters
Source§fn default() -> ArpCounters
fn default() -> ArpCounters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ArpCounters
impl RefUnwindSafe for ArpCounters
impl Send for ArpCounters
impl Sync for ArpCounters
impl Unpin for ArpCounters
impl UnwindSafe for ArpCounters
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<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
impl<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
Source§impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
Source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
Source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
Source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
Source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more