Component explorer
Network Stack
The network stack grows the OS from a local system into one that can talk to other machines and higher-level services.
Introduced in
Touched by
Responsibilities
- Move packets between device drivers, protocols, and userspace.
- Expose transport primitives that later tools and services depend on.
- Coordinate socket-facing kernel state.
The network stack is introduced in Network and later touched by 9 phase(s).
Key files
- kernel/src/net/* — (kernel/src/net/*) and runs as net_task. This is a temporary kernel-mode
- kernel/src/net/ — kernel/src/net/ now that they are reachable from userspace through net_server.
- kernel/src/net/mod.rs — SocketHandle, SocketEntry, SOCKET_TABLE, alloc/free/with helpers
- kernel-core/src/net/mod.rs — SockaddrIn layout tests (host-testable)
- kernel/src/net/tcp.rs — TCP connection limit increase
- kernel/src/net/unix.rs — New struct in kernel/src/net/unix.rs managing the state machine for each Unix domain