Functions | |
const uip_ipaddr_t * | simple_rpl_global_address (void) |
void | simple_rpl_global_repair (void) |
void | simple_rpl_init (void) |
void | simple_rpl_init_dag (void) |
int | simple_rpl_init_dag_immediately (void) |
void | simple_rpl_local_repair (void) |
const uip_ipaddr_t * | simple_rpl_parent (void) |
const uip_ipaddr_t * | simple_rpl_root (void) |
const uip_ipaddr_t* simple_rpl_global_address | ( | void | ) |
References uip_ds6_netif::addr_list, ADDR_PREFERRED, i, ipaddr, uip_ds6_addr::ipaddr, uip_ds6_addr::isused, NULL, uip_ds6_addr::state, state, UIP_DS6_ADDR_NB, uip_ds6_if, and uip_is_addr_link_local.
Referenced by create_dag_callback(), and make_routes_roomfor().
void simple_rpl_global_repair | ( | void | ) |
References printf, RPL_DEFAULT_INSTANCE, and rpl_repair_root().
void simple_rpl_init | ( | void | ) |
References n, route_callback(), set_global_address(), to_become_root, and uip_ds6_notification_add().
void simple_rpl_init_dag | ( | void | ) |
References c, create_dag_callback(), ctimer_set(), dis_output(), NULL, RPL_DAG_GRACE_PERIOD, to_become_root, and uip_ds6_defrt_add().
Referenced by PROCESS_THREAD().
int simple_rpl_init_dag_immediately | ( | void | ) |
References uip_ds6_netif::addr_list, ADDR_PREFERRED, rpl_instance::def_route, i, rpl_dag::instance, ipaddr, uip_ds6_addr::ipaddr, uip_ds6_addr::isused, NULL, prefix, printf, RPL_DEFAULT_INSTANCE, rpl_get_any_dag(), rpl_remove_routes(), rpl_set_prefix(), rpl_set_root(), uip_ds6_addr::state, state, uip_ds6_addr_lookup(), UIP_DS6_ADDR_NB, uip_ds6_defrt_rm(), uip_ds6_if, uip_ip6addr, and uip_is_addr_link_local.
Referenced by create_dag_callback().
void simple_rpl_local_repair | ( | void | ) |
References RPL_DEFAULT_INSTANCE, rpl_get_instance(), and rpl_local_repair().
const uip_ipaddr_t* simple_rpl_parent | ( | void | ) |
References NULL, rpl_dag::preferred_parent, rpl_get_any_dag(), and rpl_get_parent_ipaddr().
Referenced by PROCESS_THREAD().
const uip_ipaddr_t* simple_rpl_root | ( | void | ) |
References rpl_dag::dag_id, NULL, and rpl_get_any_dag().
Referenced by create_dag_callback(), and make_routes_roomfor().