Zephyr API 3.6.99
Loading...
Searching...
No Matches
net_trickle Struct Reference

The variable names are taken directly from RFC 6206 when applicable. More...

#include <trickle.h>

Data Fields

uint32_t I
 Current interval size.
 
uint32_t Imin
 Min interval size in ms.
 
uint32_t Istart
 Start of the interval in ms.
 
uint32_t Imax_abs
 Max interval size in ms (not doublings)
 
uint8_t Imax
 Max number of doublings.
 
uint8_t k
 Redundancy constant.
 
uint8_t c
 Consistency counter.
 
bool double_to
 Flag telling if the internval is doubled.
 
struct k_work_delayable timer
 Internal timer struct.
 
net_trickle_cb_t cb
 Callback to be called when timer expires.
 
void * user_data
 User specific opaque data.
 

Detailed Description

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.

Field Documentation

◆ c

uint8_t net_trickle::c

Consistency counter.

◆ cb

net_trickle_cb_t net_trickle::cb

Callback to be called when timer expires.

◆ double_to

bool net_trickle::double_to

Flag telling if the internval is doubled.

◆ I

uint32_t net_trickle::I

Current interval size.

◆ Imax

uint8_t net_trickle::Imax

Max number of doublings.

◆ Imax_abs

uint32_t net_trickle::Imax_abs

Max interval size in ms (not doublings)

◆ Imin

uint32_t net_trickle::Imin

Min interval size in ms.

◆ Istart

uint32_t net_trickle::Istart

Start of the interval in ms.

◆ k

uint8_t net_trickle::k

Redundancy constant.

◆ timer

struct k_work_delayable net_trickle::timer

Internal timer struct.

◆ user_data

void* net_trickle::user_data

User specific opaque data.


The documentation for this struct was generated from the following file: