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.
45//! Netstack3 core UDP.
6//!
7//! This crate contains the UDP implementation for netstack3.
89#![no_std]
10#![warn(missing_docs, unreachable_patterns, clippy::useless_conversion, clippy::redundant_clone)]
1112extern crate fakealloc as alloc;
1314#[path = "."]
15mod internal {
16pub(super) mod base;
17pub(super) mod counters;
18}
1920pub use internal::counters::{
21 CombinedUdpCounters, UdpCounterContext, UdpCountersWithSocket, UdpCountersWithoutSocket,
22};
2324pub use internal::base::{
25 BoundSockets, BoundStateContext, DualStackBoundStateContext, NonDualStackBoundStateContext,
26 SendError, SendToError, Sockets, StateContext, UdpApi, UdpBindingsContext, UdpBindingsTypes,
27 UdpIpTransportContext, UdpPacketMeta, UdpReceiveBindingsContext, UdpRemotePort, UdpSocketId,
28 UdpSocketSet, UdpSocketState, UdpSocketTxMetadata, UdpState, UdpStateContext,
29 UseUdpIpTransportContextBlanket,
30};