This is the documentation for the latest (master) development branch of
Zephyr. If you are looking for the documentation of previous releases, use
the drop-down menu on the left and select the desired version.
k_delayed_work API has a 1 ms accuracy for a timeout value,
so the maximum timeout can be about 24 days. Some network timeouts
are longer than this, so the net_timeout API provides a generic timeout
mechanism that tracks such wraparounds and restarts the timeout as needed.
Network long timeout primitives and helpers.
Let the max timeout be 100 ms lower because of possible rounding in delayed work implementation.
- #include <net_timeout.h>
Generic struct for handling network timeouts