Changed function names.
This commit is contained in:
parent
80097f2c65
commit
3d0d2c284f
@ -287,9 +287,9 @@ void rpl_process_dio(uip_ipaddr_t *, rpl_dio_t *);
|
|||||||
int rpl_process_parent_event(rpl_instance_t *, rpl_parent_t *);
|
int rpl_process_parent_event(rpl_instance_t *, rpl_parent_t *);
|
||||||
|
|
||||||
/* DAG object management. */
|
/* DAG object management. */
|
||||||
rpl_dag_t *rpl_alloc_dodag(uint8_t, uip_ipaddr_t *);
|
rpl_dag_t *rpl_alloc_dag(uint8_t, uip_ipaddr_t *);
|
||||||
rpl_instance_t *rpl_alloc_instance(uint8_t);
|
rpl_instance_t *rpl_alloc_instance(uint8_t);
|
||||||
void rpl_free_dodag(rpl_dag_t *);
|
void rpl_free_dag(rpl_dag_t *);
|
||||||
void rpl_free_instance(rpl_instance_t *);
|
void rpl_free_instance(rpl_instance_t *);
|
||||||
|
|
||||||
/* DAG parent management function. */
|
/* DAG parent management function. */
|
||||||
@ -300,7 +300,7 @@ void rpl_nullify_parent(rpl_dag_t *, rpl_parent_t *);
|
|||||||
void rpl_remove_parent(rpl_dag_t *, rpl_parent_t *);
|
void rpl_remove_parent(rpl_dag_t *, rpl_parent_t *);
|
||||||
void rpl_move_parent(rpl_dag_t *dag_src, rpl_dag_t *dag_dst, rpl_parent_t *parent);
|
void rpl_move_parent(rpl_dag_t *dag_src, rpl_dag_t *dag_dst, rpl_parent_t *parent);
|
||||||
rpl_parent_t *rpl_select_parent(rpl_dag_t *dag);
|
rpl_parent_t *rpl_select_parent(rpl_dag_t *dag);
|
||||||
rpl_dag_t *rpl_select_dodag(rpl_instance_t *instance,rpl_parent_t *parent);
|
rpl_dag_t *rpl_select_dag(rpl_instance_t *instance,rpl_parent_t *parent);
|
||||||
void rpl_recalculate_ranks(void);
|
void rpl_recalculate_ranks(void);
|
||||||
|
|
||||||
/* RPL routing table functions. */
|
/* RPL routing table functions. */
|
||||||
|
@ -213,8 +213,7 @@ struct rpl_dag {
|
|||||||
rpl_parent_t *preferred_parent;
|
rpl_parent_t *preferred_parent;
|
||||||
rpl_rank_t rank;
|
rpl_rank_t rank;
|
||||||
struct rpl_instance *instance;
|
struct rpl_instance *instance;
|
||||||
void *parent_list;
|
LIST_STRUCT(parents);
|
||||||
list_t parents;
|
|
||||||
rpl_prefix_t prefix_info;
|
rpl_prefix_t prefix_info;
|
||||||
};
|
};
|
||||||
typedef struct rpl_dag rpl_dag_t;
|
typedef struct rpl_dag rpl_dag_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user