Microchip® Advanced Software Framework

rpl-timers.c File Reference

    RPL timer management.
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
#include "contiki-conf.h"
#include "net/rpl/rpl-private.h"
#include "uip-mcast6.h"
#include "lib/random.h"
#include "sys/ctimer.h"
#include "net/ip/uip-debug.h"

Macros

#define _DEBUG_   DEBUG_NONE
 

Functions

static void handle_dao_timer (void *ptr)
 
static void handle_dio_timer (void *ptr)
 
static void handle_periodic_timer (void *ptr)
 
static void new_dio_interval (rpl_instance_t *instance)
 
void rpl_cancel_dao (rpl_instance_t *instance)
 
void rpl_reset_dio_timer (rpl_instance_t *instance)
 
void rpl_reset_periodic_timer (void)
 
void rpl_schedule_dao (rpl_instance_t *instance)
 
void rpl_schedule_dao_immediately (rpl_instance_t *instance)
 
static void schedule_dao (rpl_instance_t *instance, clock_time_t latency)
 
static void set_dao_lifetime_timer (rpl_instance_t *instance)
 

Variables

static uint8_t dio_send_ok
 
static uint16_t next_dis
 
static struct ctimer periodic_timer