Skip to main content

netstack3_icmp_echo/
lib.rs

1// Copyright 2024 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5//! Netstack3 core ICMP Echo sockets.
6//!
7//! This crate contains the ICMP echo sockets implementation for Netstack3.
8
9#![no_std]
10#![warn(
11    missing_docs,
12    unreachable_patterns,
13    clippy::useless_conversion,
14    clippy::redundant_clone,
15    clippy::precedence
16)]
17
18extern crate alloc;
19
20#[path = "."]
21mod internal {
22    pub(super) mod socket;
23}
24
25pub use internal::socket::{
26    BoundSockets, IcmpEchoBindingsContext, IcmpEchoBindingsTypes, IcmpEchoBoundStateContext,
27    IcmpEchoContextMarker, IcmpEchoIpTransportContext, IcmpEchoSocketApi, IcmpEchoStateContext,
28    IcmpSocketId, IcmpSocketSet, IcmpSocketState, IcmpSocketTxMetadata, IcmpSockets,
29    ReceiveIcmpEchoError,
30};