tcpip
  1. Overview
  2. Docs

Checksum functions for TCP/IP

val ones_complement : Cstruct.t -> int

One's complement checksum, RFC1071

val ones_complement_list : Cstruct.t list -> int