-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dhcp: Enable custom config for timeouts, thresholds, backoff time
Enables to configure: * DHCP_COARSE_TIMER_SECS * if DHCP_DEFINE_CUSTOM_TIMEOUTS defined these addtional options are available: - DHCP_CALC_TIMEOUT_FROM_OFFERED_T0_LEASE to adjust the t0 lease timeout from the offered value - DHCP_CALC_TIMEOUT_FROM_OFFERED_T1_RENEW same for t1 renew - DHCP_CALC_TIMEOUT_FROM_OFFERED_T2_REBIND same for t2 rebind - DHCP_NEXT_TIMEOUT_THRESHOLD to adjust the period of the next timeout - DHCP_REQUEST_BACKOFF_SEQUENCE to adjust back-off times based on DHCP request attempts Also updates timeout type from u16 to u32 - eps useful when DHCP_COARSE_TIMER_SECS is a smaller number
- Loading branch information
Showing
2 changed files
with
28 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters