|
Zephyr Project API
3.2.0
A Scalable Open Source RTOS
|
#include <trickle.h>
Data Fields | |
| uint32_t | Imin |
| uint8_t | Imax |
| uint8_t | k |
| uint32_t | I |
| uint32_t | Istart |
| uint8_t | c |
| uint32_t | Imax_abs |
| bool | double_to |
| struct k_work_delayable | timer |
| net_trickle_cb_t | cb |
| void * | user_data |
The variable names are taken directly from RFC 6206 when applicable. Note that the struct members should not be accessed directly but only via the Trickle API.
| uint8_t net_trickle::c |
Consistency counter
| net_trickle_cb_t net_trickle::cb |
Callback to be called when timer expires
| bool net_trickle::double_to |
| uint32_t net_trickle::I |
Current interval size
| uint8_t net_trickle::Imax |
Max number of doublings
| uint32_t net_trickle::Imax_abs |
Max interval size in ms (not doublings)
| uint32_t net_trickle::Imin |
Min interval size in ms
| uint32_t net_trickle::Istart |
Start of the interval in ms
| uint8_t net_trickle::k |
Redundancy constant
| struct k_work_delayable net_trickle::timer |
| void* net_trickle::user_data |