Crate massping

Crate massping 

Source
Expand description

Asynchronous ICMP ping library using Linux DGRAM sockets and the tokio runtime.

This crate uses SOCK_DGRAM sockets with IPPROTO_ICMP/IPPROTO_ICMPV6, which allows sending ICMP echo requests without root privileges on Linux.

§Features

§MSRV version policy

This project has a CI job to prevent accidental bumping of the MSRV. We might bump MSRV version at any time. If you require a lower MSRV please open an issue.

Modules§

packet
ICMP packets implementation used by raw_pinger.
raw_pinger
Synchronous and asynchronous raw pinger implementation

Structs§

DualstackMeasureManyStream
A Stream of ping responses.
DualstackPinger
A pinger for both Ipv4Addr and Ipv6Addr addresses.
MeasureManyStream
A Stream of ping responses.
Pinger
A pinger for IpVersion (either Ipv4Addr or Ipv6Addr).

Traits§

IpVersion
Either an Ipv4Addr or an Ipv6Addr.

Type Aliases§

V4Pinger
A pinger for IPv4 addresses
V6Pinger
A pinger for IPv6 addresses