2012-01-19 17:35:50 +01:00
|
|
|
#include "rpl_structs.h"
|
2012-01-26 20:26:55 +01:00
|
|
|
//#include "of0.h"
|
2012-01-19 17:35:50 +01:00
|
|
|
|
|
|
|
rpl_instance_t *rpl_new_instance(uint8_t instanceid);
|
|
|
|
rpl_instance_t *rpl_get_instance(uint8_t instanceid);
|
|
|
|
rpl_instance_t *rpl_get_my_instance();
|
2012-01-26 20:26:55 +01:00
|
|
|
rpl_dodag_t *rpl_new_dodag(uint8_t instanceid, ipv6_addr_t *id);
|
2012-01-19 17:35:50 +01:00
|
|
|
rpl_dodag_t *rpl_get_dodag(ipv6_addr_t *id);
|
|
|
|
rpl_dodag_t *rpl_get_my_dodag();
|
2012-01-26 20:26:55 +01:00
|
|
|
rpl_parent_t *rpl_new_parent(rpl_dodag_t *dodag, ipv6_addr_t *address, uint16_t rank);
|
2012-01-19 17:35:50 +01:00
|
|
|
void rpl_del_dodag(rpl_dodag_t *dodag);
|
|
|
|
void rpl_leave_dodag(rpl_dodag_t * dodag);
|
|
|
|
void rpl_join_dodag();
|
|
|
|
bool rpl_equal_dodag_id(ipv6_addr_t *id1, ipv6_addr_t *id2);
|
|
|
|
|