zephyr/subsys/net
Peter Bigot d510f1f84d net: if: tweak DAD and RS timeout handling
Both RS and DAD timeouts are simplified because the delay is a
constant, and by construction the list of timeouts is in increasing
time remaining.

Refactor to avoid repeating the expression that represents the time
until DAD state expires.  Uniformly use unsigned operands in deadline
calculation.

Note a case where the racy idiom for retaining an existing timeout is
required in the current work API, but can be replaced with a robust
solution in the proposed new API (the reschedule API replaces any
existing pending update, but the schedule API will leave an existing
scheduled submission in place).

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-01-07 11:14:38 +02:00
..
ip net: if: tweak DAD and RS timeout handling 2021-01-07 11:14:38 +02:00
l2 bluetooth: Convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 20:01:42 -05:00
lib net: dns: review use of k_work APIs 2021-01-04 10:01:47 +02:00
buf.c net: buf: net_buf_remove_* API 2021-01-05 14:31:13 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
hostname.c net: hostname: define public macro representing maximum hostname length 2020-11-17 19:21:43 -05:00
Kconfig power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
Kconfig.hostname kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.template.log_config.default.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.template.log_config.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00