netstack3_udp/
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 UDP.
6//!
7//! This crate contains the UDP implementation for netstack3.
8
9#![no_std]
10#![warn(missing_docs, unreachable_patterns, clippy::useless_conversion, clippy::redundant_clone)]
11
12extern crate fakealloc as alloc;
13
14#[path = "."]
15mod internal {
16    pub(super) mod base;
17}
18
19pub use internal::base::{
20    BoundSockets, BoundStateContext, DualStackBoundStateContext, NonDualStackBoundStateContext,
21    SendError, SendToError, Sockets, StateContext, UdpApi, UdpBindingsContext, UdpBindingsTypes,
22    UdpCounters, UdpCountersInner, UdpIpTransportContext, UdpPacketMeta, UdpReceiveBindingsContext,
23    UdpRemotePort, UdpSocketId, UdpSocketSet, UdpSocketState, UdpSocketTxMetadata, UdpState,
24    UdpStateBuilder, UdpStateContext, UseUdpIpTransportContextBlanket,
25};