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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?