package mirage-protocols-lwt

  1. Overview
  2. Docs
module type ETHIF = Mirage_protocols.ETHIF with type 'a io = 'a Lwt.t and type buffer = Cstruct.t and type macaddr = Macaddr.t
module type ARP = Mirage_protocols.ARP with type 'a io = 'a Lwt.t and type buffer = Cstruct.t and type ipaddr = Ipaddr.V4.t and type macaddr = Macaddr.t
module type IP = Mirage_protocols.IP with type 'a io = 'a Lwt.t and type buffer = Cstruct.t and type uipaddr = Ipaddr.t
module type IPV4 = IP with type ipaddr = Ipaddr.V4.t and type prefix = Ipaddr.V4.Prefix.t
module type IPV6 = IP with type ipaddr = Ipaddr.V6.t and type prefix = Ipaddr.V6.Prefix.t

IPv6 stack

module type ICMP = Mirage_protocols.ICMP with type 'a io = 'a Lwt.t and type buffer = Cstruct.t

ICMP module

module type ICMPV4 = ICMP with type ipaddr = Ipaddr.V4.t

ICMPV4 module

module type UDP = Mirage_protocols.UDP with type 'a io = 'a Lwt.t and type buffer = Cstruct.t

UDP stack

module type UDPV4 = UDP with type ipaddr = Ipaddr.V4.t

UDP stack over IPv4

module type UDPV6 = UDP with type ipaddr = Ipaddr.V6.t

UDP stack over IPv6

module type TCP = Mirage_protocols.TCP with type 'a io = 'a Lwt.t and type buffer = Cstruct.t

TCP stack

module type TCPV4 = TCP with type ipaddr = Ipaddr.V4.t

TCP module over IPv4

module type TCPV6 = TCP with type ipaddr = Ipaddr.V6.t

TCP module over IPv6

Configuration

type ipv4_config = {
  1. address : Ipaddr.V4.t;
  2. network : Ipaddr.V4.Prefix.t;
  3. gateway : Ipaddr.V4.t option;
}
type ipv6_config = {
  1. address : Ipaddr.V6.t list;
  2. netmasks : Ipaddr.V6.Prefix.t list;
  3. gateways : Ipaddr.V6.t list;
}
module type DHCP_CLIENT = sig ... end
OCaml

Innovation. Community. Security.