Files
asterinas/kernel/libs/aster-bigtcp/src/lib.rs
2025-01-24 11:46:18 +08:00

28 lines
799 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)]
#![feature(extract_if)]
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;