Microchip® Advanced Software Framework

rpl-of0.c File Reference

    An implementation of RPL's objective function 0.
Author
Joakim Eriksson joaki.nosp@m.me@s.nosp@m.ics.s.nosp@m.e, Nicolas Tsiftes nvt@s.nosp@m.ics..nosp@m.se

Macros

#define _DEBUG_   DEBUG_NONE
 
#define DEFAULT_RANK_INCREMENT   RPL_MIN_HOPRANKINC
 
#define MIN_DIFFERENCE   (RPL_MIN_HOPRANKINC + RPL_MIN_HOPRANKINC / 2)
 

Functions

static rpl_dag_tbest_dag (rpl_dag_t *, rpl_dag_t *)
 
static rpl_parent_tbest_parent (rpl_parent_t *, rpl_parent_t *)
 
static rpl_rank_t calculate_rank (rpl_parent_t *, rpl_rank_t)
 
static void reset (rpl_dag_t *)
 
static void update_metric_container (rpl_instance_t *)
 

Variables

rpl_of_t rpl_of0