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::{PingResult, Pinger, SocketType};
10
11#[deprecated(
12    since = "0.6.0",
13    note = "packet internals are not part of the stable API"
14)]
15pub use packet::{
16    EchoReply as ER1, EchoRequest, ICMP_HEADER_SIZE, IcmpV4, IcmpV6, IpV4Packet, IpV4Protocol,
17};