Example #1
0
/* here we mark that a DAO is needed soon */
void dag_network::maybe_send_dao(void)
{
    if(dao_needed && dag_bestparent != NULL) {
        if(!root_node()) {
            schedule_dao();
        }
        dao_needed = false;
    }
}
Example #2
0
/*---------------------------------------------------------------------------*/
void
rpl_schedule_dao_immediately(rpl_instance_t *instance)
{
  schedule_dao(instance, 0);
}
Example #3
0
/*---------------------------------------------------------------------------*/
void
rpl_schedule_dao(rpl_instance_t *instance)
{
  schedule_dao(instance, RPL_DAO_LATENCY);
}