Home
last modified time | relevance | path

Searched refs:Imin (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/lib/trickle/
Dtrickle.c156 #define CHECK_IMIN(Imin) \ argument
157 ((Imin < 2) || (Imin > (TICK_MAX >> 1)))
160 uint32_t Imin, in net_trickle_create() argument
164 if (!(trickle && Imax > 0 && k > 0 && !CHECK_IMIN(Imin))) { in net_trickle_create()
170 trickle->Imin = Imin; in net_trickle_create()
172 trickle->Imax_abs = Imin << Imax; in net_trickle_create()
180 trickle->Imin, trickle->Imax, trickle->k, in net_trickle_create()
201 trickle->I = trickle->Imin + in net_trickle_start()
202 (sys_rand32_get() % (trickle->Imax_abs - trickle->Imin + 1)); in net_trickle_start()
245 if (trickle->I != trickle->Imin) { in net_trickle_inconsistency()
[all …]
/Zephyr-latest/include/zephyr/net/
Dtrickle.h57 uint32_t Imin; /**< Min interval size in ms */ member
87 uint32_t Imin,