Home
last modified time | relevance | path

Searched full:net_timeout (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.5.0/tests/unit/net_timeout/
Dmain.c10 #include <zephyr/net/net_timeout.h>
12 #include "../../../subsys/net/ip/net_timeout.c"
19 static void dump_nto(const struct net_timeout *nto)
34 ZTEST(net_timeout, test_basics) in ZTEST() argument
46 ZTEST(net_timeout, test_set) in ZTEST() argument
48 struct net_timeout nto; in ZTEST()
111 ZTEST(net_timeout, test_deadline) in ZTEST() argument
113 struct net_timeout nto; in ZTEST()
150 ZTEST(net_timeout, test_remaining) in ZTEST() argument
152 struct net_timeout nto; in ZTEST()
[all …]
Dtestcase.yaml2 utilities.net_timeout:
/Zephyr-Core-3.5.0/include/zephyr/net/
Dnet_timeout.h19 * @defgroup net_timeout Network long timeout primitives and helpers
55 struct net_timeout { struct
95 void net_timeout_set(struct net_timeout *timeout, argument
112 int64_t net_timeout_deadline(const struct net_timeout *timeout,
132 uint32_t net_timeout_remaining(const struct net_timeout *timeout,
153 uint32_t net_timeout_evaluate(struct net_timeout *timeout,
Dnet_core.h23 #include <zephyr/net/net_timeout.h>
Dnet_if.h31 #include <zephyr/net/net_timeout.h>
57 struct net_timeout lifetime;
113 struct net_timeout lifetime;
/Zephyr-Core-3.5.0/subsys/net/ip/
Dnet_timeout.c7 #include <zephyr/net/net_timeout.h>
10 void net_timeout_set(struct net_timeout *timeout, in net_timeout_set()
44 int64_t net_timeout_deadline(const struct net_timeout *timeout, in net_timeout_deadline()
64 uint32_t net_timeout_remaining(const struct net_timeout *timeout, in net_timeout_remaining()
78 uint32_t net_timeout_evaluate(struct net_timeout *timeout, in net_timeout_evaluate()
DCMakeLists.txt17 net_timeout.c
Droute.h20 #include <zephyr/net/net_timeout.h>
59 struct net_timeout lifetime;
Droute.c509 struct net_timeout *timeout = &current->lifetime; in route_lifetime_timeout()
Dnet_if.c1624 struct net_timeout *timeout = &current->lifetime; in address_lifetime_timeout()
2263 struct net_timeout *timeout = &current->lifetime; in prefix_lifetime_timeout()
/Zephyr-Core-3.5.0/doc/connectivity/networking/api/
Dnet_timeout.rst29 The net_timeout API provides a generic timeout mechanism to correctly track
48 The :c:struct:`net_timeout` contains a ``sys_snode_t`` that allows multiple
61 .. doxygengroup:: net_timeout
Dapis.rst14 net_timeout.rst