mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 18:03:25 +00:00
Move smoltcp-related code to bigtcp
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
9fba9445bd
commit
67d3682116
23
kernel/libs/aster-bigtcp/src/lib.rs
Normal file
23
kernel/libs/aster-bigtcp/src/lib.rs
Normal file
@ -0,0 +1,23 @@
|
||||
// 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(btree_extract_if)]
|
||||
|
||||
pub mod device;
|
||||
pub mod errors;
|
||||
pub mod iface;
|
||||
pub mod socket;
|
||||
pub mod wire;
|
||||
|
||||
extern crate alloc;
|
Reference in New Issue
Block a user