package tcpip

  1. Overview
  2. Docs
type t = int64 * Cstruct.t * bool * int * (int * Cstruct.t) list

The type of values in the fragment cache: a timestamp of the first received one, IP options (of the first fragment), whether or not the last fragment was received (the one with more fragments cleared), amount of received fragments, and a list of pairs of offset and fragment.

val weight : t -> int

weight t is the data length of the received fragments.

OCaml

Innovation. Community. Security.