Module client

Source
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.
ClientConfig
Configuration for the DHCP client to be used while negotiating with DHCP servers.
DebugLogPrefix
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
LeaseRenewal
A renewal of a DHCP lease.
NewlyAcquiredLease
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.
WaitingToRestart
The state of waiting to restart the configuration process.

Enums§

AddressRejectionOutcome
Outcome of handling an address rejection.
Error
Unexpected, non-recoverable errors encountered by the DHCP client.
ExitReason
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).
TransitionEffect
A side-effect of a state transition.