23 if (!dodag_config_suboption)
24 fnNetSimError(
"%s function is called without dodag config suboption\n", __FUNCTION__);
97 memset(&pevent, 0,
sizeof pevent);
118 fnNetSimError(
"joined_dodag is null for %d in %s\n", node, __FUNCTION__);
120 if (!dodag_config_suboption)
121 fnNetSimError(
"dodag_config_suboption is not present in dio msg in %s\n", __FUNCTION__);
131 print_rpl_log(
"node '%d': in dodag_id = '%s', updated dodag config (i_min = %d, i_doublings = %d, c_treshold = %d, max_rank_inc = %d, min_hop_rank_inc = %d)",
144 memset(&pevent, 0,
sizeof pevent);
void update_dodag_config(NETSIM_ID node, PRPL_CTRL_MSG dio_pdu)
void join_dodag_iteration(NETSIM_ID d, PRPL_CTRL_MSG dio_pdu)
PRPL_DODAG rpl_dodag_create(PRPL_CTRL_MSG dio_pdu)
void rpl_dodag_destroy(PRPL_DODAG dodag)
NETSIM_IPAddress IP_COPY(NETSIM_IPAddress ip)
void IP_FREE(NETSIM_IPAddress ip)
#define fnNetSimError(x,...)
void rpl_delete_all_route(NETSIM_ID d)
void * get_option_from_msg(PRPL_CTRL_MSG msg, RPL_OPTION_TYPE type)
struct stru_rpl_dodag * PRPL_DODAG
void print_rpl_log(char *format,...)
#define RPL_IP_TO_STR(ip)
void rpl_trickle_reset(NETSIM_ID nDevId)
void seq_num_mapping_cleanup()
@ RPLOPTION_DODAGConfiguration
#define DEVICE_TYPE(DeviceId)
int fnDeleteEvent(unsigned long long int nEventId)
EXPORTED struct stru_NetSim_EventDetails * pstruEventDetails
#define fnpAddEvent(pstruEvent)
netsimDEVICE_TYPE nDeviceType
UINT16 MinHopRankIncrease
UINT8 dio_redundancy_constant
PRPL_NEIGHBOR pref_parent
PRPL_NEIGHBOR * sibling_list
PRPL_NEIGHBOR * parent_list
UINT8 dio_interval_doublings
unsigned long long int dao_send_eventid