charrua
charrua copied to clipboard
A DHCP library in OCaml
The link in the github about description points to http://mirage.github.io/charrua/api/ while the documentation is at http://mirage.github.io/charrua/ (i.e. without `/api/` at the end).
what I want to achieve is to register dns records for dhcp leases. this is an initial hack, I'm not sure what the design should be. what this does so...
while deploying charrua in africa with no persistent leases, we discovered that a restart of charrua leads to it handing out ip addresses with active lease (from the previous incarnation)....
It's possible to call `buf_of_pkt` on a `Dhcp_wire.pkt` with an `options` field containing so many options that the buffer obtained for write is overrun in `buf_of_options`: ``` (Invalid_argument "Cstruct.blit_from_string src=[64]...
This is dependent on async being merged into rawlink (https://github.com/haesbaert/rawlink/pull/18) but I thought it would be good to get feedback early. Since Async depends on Core and ppx_jane already, I...
This implements https://www.rfc-editor.org/rfc/rfc3925.html except `Vi_vendor_info` leaves the sub options unparsed (they **must** be dhcp-style TLVs; this implementation leave them as an opaque string). I may implement that as well. I...