ocaml-dhcp#
A pure-OCaml implementation of DHCP (RFC 2131 / RFC 2132): the wire format codec, a client, and a server.
Installation#
Install with opam:
$ opam install dhcp
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 dhcp
Credits#
This library is forked from charrua,
originally written by Christiano F. Haesbaert, Gina Marie Maini, and
Mindy Preston, and released under the ISC license. The cstruct-based
wire codec has been replaced by the wire
library, and the Unix/mirage backends by Eio.
The original copyright notices are preserved in the file headers.
Packages#
dhcp: the wire format parser and serialiser, plus client and server state machines (I/O-free).