Expand description
Defines the client core state machine. Implements the DHCP client state machine.
Structs§
- Bound
- The Bound state as depicted in the state-transition diagram in RFC 2131.
- Client
Config - Configuration for the DHCP client to be used while negotiating with DHCP servers.
- Debug
LogPrefix - Debug information to include in log messages about the client.
- Init
- 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
- Lease
Renewal - A renewal of a DHCP lease.
- Newly
Acquired Lease - A newly-acquired DHCP lease.
- Rebinding
- The Rebinding state as depicted in the state-transition diagram in RFC 2131.
- Renewing
- The Renewing state as depicted in the state-transition diagram in RFC 2131.
- Requesting
- The Requesting state as depicted in the state-transition diagram in RFC 2131.
- Selecting
- The Selecting state as depicted in the state-transition diagram in RFC 2131.
- Waiting
ToRestart - The state of waiting to restart the configuration process.
Enums§
- Address
Rejection Outcome - Outcome of handling an address rejection.
- Error
- Unexpected, non-recoverable errors encountered by the DHCP client.
- Exit
Reason - The reason the DHCP client exited.
- State
- All possible core state machine states from the state-transition diagram in RFC 2131.
- Step
- The next step to take after running the core state machine for one step.
- Transition
- A state-transition to execute (see
State
enum variant documentation for a description of each state). - Transition
Effect - A side-effect of a state transition.