dhcp_client_core

Module client

Source
Expand description

Defines the client core state machine. Implements the DHCP client state machine.

Structs§

  • The Bound state as depicted in the state-transition diagram in RFC 2131.
  • Configuration for the DHCP client to be used while negotiating with DHCP servers.
  • Debug information to include in log messages about the client.
  • The initial state as depicted in the state-transition diagram in [RFC 2131]. [RFC 2131]: https://datatracker.ietf.org/doc/html/rfc2131#section-4.4
  • A renewal of a DHCP lease.
  • A newly-acquired DHCP lease.
  • The Rebinding state as depicted in the state-transition diagram in RFC 2131.
  • The Renewing state as depicted in the state-transition diagram in RFC 2131.
  • The Requesting state as depicted in the state-transition diagram in RFC 2131.
  • The Selecting state as depicted in the state-transition diagram in RFC 2131.
  • The state of waiting to restart the configuration process.

Enums§

  • Outcome of handling an address rejection.
  • Unexpected, non-recoverable errors encountered by the DHCP client.
  • The reason the DHCP client exited.
  • All possible core state machine states from the state-transition diagram in RFC 2131.
  • The next step to take after running the core state machine for one step.
  • A state-transition to execute (see State enum variant documentation for a description of each state).
  • A side-effect of a state transition.