package mirage-dns

  1. Overview
  2. Docs
include Mirage_stack.V4 with type 'a io = 'a Lwt.t and type 'a config = 'a Mirage_stack_lwt.stackv4_config and type ipv4addr = Ipaddr.V4.t and type buffer = Cstruct.t
type netif
type !'a config = 'a Mirage_stack_lwt.stackv4_config
type ipv4addr = Ipaddr.V4.t
type buffer = Cstruct.t
type udpv4
type tcpv4
type ipv4
type 'a io = 'a Lwt.t
type t
val disconnect : t -> unit io
module UDPV4 : sig ... end
module TCPV4 : sig ... end
module IPV4 : sig ... end
val udpv4 : t -> udpv4
val tcpv4 : t -> tcpv4
val ipv4 : t -> ipv4
val listen_udpv4 : t -> port:int -> UDPV4.callback -> unit
val listen_tcpv4 : t -> port:int -> TCPV4.callback -> unit
val listen : t -> unit io
OCaml

Innovation. Community. Security.