mesh: Initialize RPL when creating or loading a node
authorInga Stotland <inga.stotland@intel.com>
Fri, 28 Aug 2020 20:04:26 +0000 (13:04 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Mon, 28 Dec 2020 06:20:04 +0000 (11:50 +0530)
commit4856a07c5c41e70124fc32ed713bfc3cae700bd7
tree09eba38b7db0302d7e7a5c70d59461d2cb0e7aac
parent7bea16649018450ca749921abb742c8a800d4377
mesh: Initialize RPL when creating or loading a node

When either a new node is created or an existing node is loaded from
storage, initialize RPL storage directory.

Additionally, when an existing node configguration is read from storage,
load saved RPL entries into the corresponding RPL lists.

Change-Id: Ia9b2cb55e1170dcb149df59fccb93b917d3e060b
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
mesh/net.c
mesh/net.h
mesh/node.c
mesh/rpl.c
mesh/rpl.h