package mirage-net-direct

  1. Overview
  2. Docs
type seg
val make : sequence:Sequence.t -> fin:bool -> syn:bool -> ack:bool -> ack_number:Sequence.t -> window:int -> data:Cstruct.t -> seg
type q
val q : rx_data:(Cstruct.t list option * int option) Lwt_mvar.t -> wnd:Window.t -> state:State.t -> tx_ack:(Sequence.t * int) Lwt_mvar.t -> q
val to_string : q -> string
val is_empty : q -> bool
val input : q -> seg -> unit Lwt.t
OCaml

Innovation. Community. Security.