package mirage-protocols

  1. Overview
  2. Docs

MirageOS signatures for network protocols

1.1.0

Ethernet stack

An Ethernet stack that parses frames from a network device and can associate them with IP address via ARP.

module Ethif : sig ... end
module type ETHIF = sig ... end

IP stack

module Ip : sig ... end

IP errors.

module type IP = sig ... end

An IP stack that parses Ethernet frames into IP packets

ARP

module Arp : sig ... end

Arp error.

module type ARP = sig ... end
module type IPV4 = sig ... end
module type IPV6 = sig ... end

No Icmp module, as there are no exposed error polymorphic variants

module type ICMP = sig ... end
module type ICMPV4 = sig ... end

UDP stack

No Udp module, as there are no exposed error polymorphic variants

module type UDP = sig ... end

TCP stack

module Tcp : sig ... end

TCP errors.

module type TCP = sig ... end

A TCP stack that can send and receive reliable streams using the TCP protocol.