package charrua-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

charrua-core-v0.12.0.tbz
sha256=399888ffb59ea70dc3728ea3b307eeec25bd883af9b798acee1842a2b2ec593a
md5=a1edfeeaea6d9ed079efec4514f0e44c

doc/charrua-core.server/Ast/index.html

Module Ast

type host = {
  1. hostname : string;
  2. options : Dhcp_wire.dhcp_option list;
  3. fixed_addr : Ipaddr.V4.t option;
  4. hw_addr : Macaddr.t;
}
type subnet = {
  1. network : Ipaddr.V4.Prefix.t;
  2. range : (Ipaddr.V4.t * Ipaddr.V4.t) option;
  3. options : Dhcp_wire.dhcp_option list;
  4. hosts : host list;
  5. default_lease_time : int32 option;
  6. max_lease_time : int32 option;
}
type t = {
  1. subnets : subnet list;
  2. options : Dhcp_wire.dhcp_option list;
  3. default_lease_time : int32;
  4. max_lease_time : int32;
}
OCaml

Innovation. Community. Security.