NetSim Source Code Help
Loading...
Searching...
No Matches
DIO.c File Reference
#include "main.h"
#include "RPL.h"
#include "RPL_Message.h"
Include dependency graph for DIO.c:

Go to the source code of this file.

Functions

static bool dio_pdu_dodag_config_changed (PRPL_CTRL_MSG c1, PRPL_CTRL_MSG c2)
 
static bool dio_pdu_changed (PRPL_NEIGHBOR neighbor, PRPL_CTRL_MSG dio_pdu)
 
void start_dio_poisoning (NETSIM_ID d)
 
PRPL_CTRL_MSG get_preferred_dodag_dio_pdu (NETSIM_ID d, bool *same, double time)
 
void rpl_process_dio_msg ()
 
void rpl_dio_msg_copy (const NetSim_PACKET *destPacket, const NetSim_PACKET *srcPacket)
 
void rpl_dio_msg_destroy (NetSim_PACKET *packet)
 

Function Documentation

◆ dio_pdu_changed()

static bool dio_pdu_changed ( PRPL_NEIGHBOR  neighbor,
PRPL_CTRL_MSG  dio_pdu 
)
static

Definition at line 32 of file DIO.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dio_pdu_dodag_config_changed()

static bool dio_pdu_dodag_config_changed ( PRPL_CTRL_MSG  c1,
PRPL_CTRL_MSG  c2 
)
static

Definition at line 18 of file DIO.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_preferred_dodag_dio_pdu()

PRPL_CTRL_MSG get_preferred_dodag_dio_pdu ( NETSIM_ID  d,
bool *  same,
double  time 
)

Definition at line 78 of file DIO.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rpl_dio_msg_copy()

void rpl_dio_msg_copy ( const NetSim_PACKET destPacket,
const NetSim_PACKET srcPacket 
)

Definition at line 339 of file DIO.c.

Here is the call graph for this function:

◆ rpl_dio_msg_destroy()

void rpl_dio_msg_destroy ( NetSim_PACKET packet)

Definition at line 346 of file DIO.c.

Here is the call graph for this function:

◆ rpl_process_dio_msg()

void rpl_process_dio_msg ( )

Definition at line 191 of file DIO.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_dio_poisoning()

void start_dio_poisoning ( NETSIM_ID  d)

Definition at line 60 of file DIO.c.

Here is the call graph for this function:
Here is the caller graph for this function: