charrua-core
DHCP wire frame encoder and decoder
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library charrua-core.server
type host = {
hostname : string; |
options : Dhcp_wire.dhcp_option list; |
fixed_addr : Ipaddr.V4.t option; |
hw_addr : Macaddr.t; |
}
type subnet = {
network : Ipaddr.V4.Prefix.t; |
range : (Ipaddr.V4.t * Ipaddr.V4.t) option; |
options : Dhcp_wire.dhcp_option list; |
hosts : host list; |
default_lease_time : int32 option; |
max_lease_time : int32 option; |
}
type t = {
subnets : subnet list; |
options : Dhcp_wire.dhcp_option list; |
default_lease_time : int32; |
max_lease_time : int32; |
}