tcpip

OCaml TCP/IP networking stack, used in MirageOS
Library tcp
Module Tcp . User_buffer . Rx
type t
val create : max_size:int32 -> wnd:Window.t -> t
val add_r : t -> Cstruct.t option -> unit Lwt.t
val take_l : t -> Cstruct.t option Lwt.t
val cur_size : t -> int32
val max_size : t -> int32
val monitor : t -> int32 Lwt_mvar.t -> unit