package tcpip

  1. Overview
  2. Docs

Parameters

module I : Mirage_protocols_lwt.IPV4

Signature

include Mirage_protocols_lwt.ICMPV4
type 'a io = 'a Lwt.t
type t
val disconnect : t -> unit io
type ipaddr = Ipaddr.V4.t
type buffer = Cstruct.t
type error
val pp_error : error Fmt.t
val input : t -> src:ipaddr -> dst:ipaddr -> buffer -> unit io
val write : t -> dst:ipaddr -> buffer -> (unit, error) Pervasives.result io
val connect : I.t -> t io
OCaml

Innovation. Community. Security.