Module dhcpv4::configuration

source ·

Structs§

  • Parameters controlling lease duration allocation. Per, https://tools.ietf.org/html/rfc2131#section-3.3, times are represented as relative times.
  • The IP addresses which the server will manage and lease to clients.
  • A list of MAC addresses which are permitted to request a lease.
  • A collection of the basic configuration parameters needed by the server.
  • A collection of static address assignments. Any client whose MAC address has a static assignment will be offered the assigned IP address.
  • A bitmask which represents the boundary between the Network part and Host part of an IPv4 address.

Enums§

  • A wrapper around the error types which can be returned when loading a ServerConfig from file with load_server_config_from_file().