Crate ping

source ·
Expand description

Ping library.

Structs

Parameters of a ping request/reply.
Sink for sending ping requests.
Stream of received ping replies.

Enums

Uninstantiable type representing IPv4.
Uninstantiable type representing IPv6.
Ping error.

Constants

The number of bytes of an ICMP (v4 or v6) header.

Traits

Async ICMP socket.
Trait for IP protocol versions.
Extension trait on Ip for Fuchsia-specific functionality.
Addresses which can be converted from socket2::SockAddr.

Functions

Create a new ICMP socket.
Create a ping sink and stream for pinging a unicast destination with the same body for every packet.