package tcpip

  1. Overview
  2. Docs

TCP Statistics

type counter

The type for counters.

val value : counter -> int

The counter value. value t is {!incr} t - {!decrs} t.

type t = {
  1. tcp_flows : counter;
  2. tcp_listens : counter;
  3. tcp_channels : counter;
  4. tcp_connects : counter;
  5. tcp_timers : counter;
}
val pp : Format.formatter -> t -> unit
val incr_flow : unit -> unit
val decr_flow : unit -> unit
val incr_listen : unit -> unit
val decr_listen : unit -> unit
val incr_channel : unit -> unit
val decr_channel : unit -> unit
val incr_connect : unit -> unit
val decr_connect : unit -> unit
val incr_timer : unit -> unit
val decr_timer : unit -> unit
val singleton : t
module Gc : sig ... end

Show GC stats

OCaml

Innovation. Community. Security.