NetSim Source Code Help
Loading...
Searching...
No Matches
AODV_RouteError.c File Reference
#include "main.h"
#include "AODV.h"
#include "List.h"
Include dependency graph for AODV_RouteError.c:

Go to the source code of this file.

Functions

int fn_NetSim_AODV_GenerateRERR (NETSIM_ID nDeviceId, NETSIM_IPAddress UnreachableIP, NetSim_EVENTDETAILS *pstruEventDetails)
 
int fn_NetSim_AODV_ProcessRERR (NetSim_EVENTDETAILS *pstruEventDetails)
 

Function Documentation

◆ fn_NetSim_AODV_GenerateRERR()

int fn_NetSim_AODV_GenerateRERR ( NETSIM_ID  nDeviceId,
NETSIM_IPAddress  UnreachableIP,
NetSim_EVENTDETAILS pstruEventDetails 
)

This function Generates a route error and sends it to the previous HOP.

Definition at line 20 of file AODV_RouteError.c.

Here is the call graph for this function:

◆ fn_NetSim_AODV_ProcessRERR()

int fn_NetSim_AODV_ProcessRERR ( NetSim_EVENTDETAILS pstruEventDetails)

This function Processess a route error. It deletes the entry to the target in the Route Table and forwards the REER packet to previous HOP if any.

Definition at line 109 of file AODV_RouteError.c.

Here is the call graph for this function: