Expand description
The Internet Control Message Protocol (ICMP).
Modules§
- testutil
- ICMP test utilities.
Structs§
- Icmp
RxCounters - ICMP rx path counters.
- Icmp
State - The IP layer’s ICMP state.
- Icmp
TxCounters - ICMP tx path counters.
- Icmpv4
Dest Unreachable Counters - ICMPv4 counters for Dest Unreachable messages.
- Icmpv4
Parameter Problem Counters - ICMPv4 Counters for the Parameter Problem messages.
- Icmpv4
State Builder - A builder for ICMPv4 state.
- Icmpv4
Time Exceeded Counters - ICMPv4 counters for the Time Exceeded messages.
- Icmpv6
Dest Unreachable Counters - ICMPv6 counters for Dest Unreachable messages.
- Icmpv6
Parameter Problem Counters - ICMPv6 Counters for the Parameter Problem messages.
- Icmpv6
Time Exceeded Counters - ICMPv6 counters for the Time Exceeded messages.
- NdpCounters
- Counters for NDP messages.
- NdpRx
Counters - Receive NDP counters.
- NdpTx
Counters - Transmit NDP counters.
Enums§
- Icmp
IpTransport Context - An implementation of
IpTransportContextfor ICMP. - Icmpv4
Error - A kind of ICMPv4 error.
- Icmpv6
Error - A kind of ICMPv6 error.
- NdpMessage
- A type to allow implementing the required filtering traits on a concrete subset of message types.
Constants§
- REQUIRED_
NDP_ IP_ PACKET_ HOP_ LIMIT - The IP packet hop limit for all NDP packets.
Traits§
- Echo
Transport Context Marker - A marker trait to prevent integration from creating a recursive loop when handling Echo sockets.
- Icmp
Bindings Context - A marker for all the contexts provided by bindings require by the ICMP module.
- Icmp
Bindings Types - A marker trait for all bindings types required by the ICMP module.
- Icmp
Counters IpExt - An IP Extension trait for ICMP Counters.
- Icmp
Error - A trait for
Icmpv4ErrorandIcmpv6Error. - Icmp
Error Handler - The handler exposed by ICMP.
- Icmp
Handler IpExt - An extension trait providing ICMP handler properties.
- Icmp
State Context - Empty trait to work around coherence issues.
- Inner
Icmp Context - The execution context shared by ICMP(v4) and ICMPv6 for the internal operations of the IP stack.
- Inner
Icmpv4 Context - The execution context for ICMPv4.
Functions§
- send_
ndp_ packet - Sends an NDP packet from
device_idwith the provided parameters.