package tcpip

  1. Overview
  2. Docs

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.

type t = int64 * Cstruct.t * bool * int * (int * Cstruct.t) list
val weight : t -> int

weight t is a measure of ts contribution towards the total map capacity. Weight must be strictly positive.