mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-10 05:46:48 +00:00
16 lines
269 B
Rust
16 lines
269 B
Rust
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
pub mod iface;
|
|
pub mod socket;
|
|
|
|
pub fn init() {
|
|
iface::init();
|
|
socket::netlink::init();
|
|
socket::vsock::init();
|
|
}
|
|
|
|
/// Lazy init should be called after spawning init thread.
|
|
pub fn lazy_init() {
|
|
iface::lazy_init();
|
|
}
|