asterinas/kernel/libs/aster-bigtcp/src/lib.rs

31 lines
1015 B
Rust

// SPDX-License-Identifier: MPL-2.0
//! _bigtcp_ is a crate that wraps [`smoltcp`].
//!
//! [`smoltcp`] is designed for embedded systems where the number of sockets is always small. It
//! turns out that such a design cannot satisfy the need to implement the network stack of a
//! general-purpose OS kernel, in terms of flexibility and efficiency.
//!
//! The short-term goal of _bigtcp_ is to reuse the powerful TCP implementation of _smoltcp_, while
//! reimplementing Ethernet and IP protocols to increase the flexibility and performance of packet
//! dispatching.
#![no_std]
#![deny(unsafe_code)]
// Rustdoc does not render methods of public type aliases that reference private types,
// so links pointing to them cannot be resolved.
// See <https://github.com/rust-lang/rust/issues/132952>.
#![expect(rustdoc::private_intra_doc_links)]
pub mod boolean_value;
pub mod device;
pub mod errors;
pub mod ext;
pub mod iface;
pub mod socket;
pub mod socket_table;
pub mod time;
pub mod wire;
extern crate alloc;