Skip to main content

tiny_ping/
lib.rs

1mod error;
2mod icmp;
3mod packet;
4mod ping;
5mod socket;
6
7pub use error::Error;
8pub use icmp::EchoReply;
9pub use ping::{
10    PingAttempt, PingRequest, PingResult, PingSeries, PingSeriesResult, PingSummary, Pinger,
11    SocketType,
12};
13
14#[deprecated(
15    since = "0.6.0",
16    note = "packet internals are not part of the stable API"
17)]
18pub use packet::{
19    EchoReply as ER1, EchoRequest, ICMP_HEADER_SIZE, IcmpV4, IcmpV6, IpV4Packet, IpV4Protocol,
20};