nox-ip#
Warning. This is a work-in-progress experimental fork of mirage-tcpip. Do not use it in production; use mirage-tcpip instead.
Encode and decode IPv4 packet headers (RFC 791) in pure OCaml: the fixed header, options, the RFC 1071 header checksum, and the pseudo-header that UDP and TCP use for their own checksums.
Installation#
Install with opam:
$ opam install nox-ip
If opam cannot find the package, it may not yet be released in the public
opam-repository. Add the overlay repository, then install it:
$ opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git
$ opam update
$ opam install nox-ip
Credits#
Forked from mirage/mirage-tcpip,
originally by Anil Madhavapeddy, Mindy Preston, and the MirageOS team, released
under the ISC license. The cstruct codec has been replaced by the
wire library and the C
checksum by nox-crc's Crc.internet_checksum. The
original copyright notices are preserved in LICENSE.md.