package charrua

  1. Overview
  2. No Docs
DHCP wire frame encoder and decoder

Install

dune-project
 Dependency

Authors

Maintainers

Sources

charrua-3.1.0.tbz
sha256=2def09a9bef7d7b733c786754a67b1502ab62ed14906ab1e72cd2fb63cca7cb3
sha512=53761f002825a14532a708c91a1e54f8e3933f0b406c637042b0dc299244de2c81af406279ee5256935b06a98bd1d2e106fd9cc8618594e116449c3b27e26397

Description

Charrua consists a single modules, Dhcp_wire responsible for parsing and constructing DHCP messages

You can browse the API for charrua at https://mirage.github.io/charrua/

Features

  • Dhcp_wire provides marshalling and unmarshalling utilities for DHCP.
  • Logic/sequencing is agnostic of IO and platform, so it can run on Unix as a process, as a Mirage unikernel or anything else.
  • All DHCP options are supported at the time of this writing.
  • Code is purely applicative.
  • It's in OCaml, so it's pretty cool.

The name charrua is a reference to the, now extinct, semi-nomadic people of southern South America.

Published: 19 Feb 2026

Dependencies (9)

  1. fmt >= "0.9.0"
  2. ohex >= "0.2.0"
  3. tcpip >= "9.0.0"
  4. ethernet >= "3.0.0"
  5. macaddr >= "4.0.0"
  6. ipaddr >= "5.0.0"
  7. cstruct >= "6.0.0"
  8. dune >= "1.4.0"
  9. ocaml >= "4.13.0"

Dev Dependencies

None

Used by (3)

  1. charrua-client >= "3.1.0"
  2. charrua-server >= "3.1.0"
  3. charrua-unix >= "3.1.0"

Conflicts (1)

  1. result < "1.5"