package tcpip

  1. Overview
  2. Docs

Parameters

module I : Mirage_protocols.IP with type ipaddr = Ipaddr.V4.t

Signature

include Mirage_protocols.ICMP with type ipaddr = Ipaddr.V4.t
type t
val disconnect : t -> unit Lwt.t
type ipaddr = Ipaddr.V4.t
type error
val pp_error : error Fmt.t
val input : t -> src:ipaddr -> dst:ipaddr -> Cstruct.t -> unit Lwt.t
val write : t -> ?src:ipaddr -> dst:ipaddr -> ?ttl:int -> Cstruct.t -> (unit, error) Stdlib.result Lwt.t
val connect : I.t -> t Lwt.t
OCaml

Innovation. Community. Security.