DHCP wire format, client and server in pure OCaml
0

Configure Feed

Select the types of activity you want to include in your feed.

OCaml 90.6%
C 5.7%
C++ 1.0%
Dune 0.5%
Roff 0.3%
Other 1.9%
78 1 0

Clone this repository

https://tangled.org/gazagnaire.org/ocaml-dhcp https://tangled.org/did:plc:53hsftvok46uqi6agpa7wkzd
git@git.recoil.org:gazagnaire.org/ocaml-dhcp git@git.recoil.org:did:plc:53hsftvok46uqi6agpa7wkzd

For self-hosted knots, clone URLs may differ based on your setup.



README.md

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).