Overview of mirage-tcpip networking stack
mainmirage-tcpip is an OCaml-based TCP/IP networking stack designed for the Mirage operating system. It provides protocol implementations for:
- IP (via
IPv4andIPv6modules) - ICMP
- UDP
- TCP
repository·main·Indexed 18 days ago
https://github.com/mirage/mirage-tcpipAn OCaml TCP/IP networking stack for the Mirage operating system (unikernels), providing core protocol implementations for IP (IPv4 and IPv6), ICMP, UDP, and TCP. It includes a 'direct' stack for unikernels running on hypervisors and a 'socket' stack for testing or traditional operating system environments.
mirage-tcpip is an OCaml-based TCP/IP networking stack designed for the Mirage operating system. It provides protocol implementations for:
IPv4 and IPv6 modules)mirage-tcpip offers two distinct implementation paths depending on your target environment:
direct stack (Recommended for Unikernels)Use the direct stack for most MirageOS applications. It is designed to write directly to a device implementing the NETIF module type. This is the only implementation suitable for applications running as unikernels on a hypervisor target.
socket stack (For Testing/Traditional OS)Use the socket stack if you are running in a traditional operating system environment rather than as a unikernel. It provides functionality by making socket calls to the host OS. This is primarily used for testing or non-unikernel applications.