mirage-tcpip

TCP/IP networking stack in pure OCaml, using the Mirage platform libraries. Includes IPv4/6, ICMP, and UDP/TCP support.

Github星跟踪图

mirage-tcpip - an OCaml TCP/IP networking stack

mirage-tcpip provides a networking stack for the Mirage operating
system
. It provides implementations for the following module types
(which correspond with the similarly-named protocols):

  • IP (via the IPv4 and IPv6 modules)
  • ICMP
  • UDP
  • TCP

Implementations

There are two implementations of the IP, ICMP, UDP, and TCP module types -
the socket stack, and the direct stack.

The socket stack

The socket stack uses socket calls to a traditional operating system to
provide the functionality described in the module types.

See the src/stack-unix/ directory for the modules used as implementations of the
socket stack.

The socket stack is used for testing or other applications which do not
expect to run as unikernels.

The direct stack

The direct stack expects to write to a device implementing the NETIF module
type defined for MirageOS.

See the src/ directory for the modules used as implementations of the
direct stack, which is the expected stack for most MirageOS applications.

The direct stack is the only usable set of implementations for
applications which will run as unikernels on a hypervisor target.

Community

License

mirage-tcpip is distributed under the ISC license.

主要指标

概览
名称与所有者mirage/mirage-tcpip
主编程语言OCaml
编程语言Makefile (语言数: 4)
平台
许可证ISC License
所有者活动
创建于2012-06-20 09:53:17
推送于2025-04-15 16:04:25
最后一次提交
发布数87
最新版本名称v9.0.1 (发布于 2025-04-15 18:04:08)
第一版名称mirage-net-0.3.0 (发布于 2012-09-11 23:31:04)
用户参与
星数343
关注者数40
派生数87
提交数4.5k
已启用问题?
问题数106
打开的问题数24
拉请求数368
打开的拉请求数5
关闭的拉请求数49
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?