![]() |
NetSim Source Code Help
|

Go to the source code of this file.
Functions | |
| int | fn_NetSim_DSR_ForwardRERR (NetSim_EVENTDETAILS *pstruEventDetails) |
| NETSIM_IPAddress | fnGetPrevHop (NetSim_PACKET *packet) |
| int | fn_NetSim_DSR_GenerateRERR (DSR_MAINT_BUFFER *maintBuffer, NetSim_EVENTDETAILS *pstruEventDetails) |
| int | fn_NetSim_DSR_ProcessRerr (NetSim_EVENTDETAILS *pstruEventDetails) |
| int fn_NetSim_DSR_ForwardRERR | ( | NetSim_EVENTDETAILS * | pstruEventDetails | ) |
This function frees the route error packet if RERR packet reaches the final destination. Otherwise, it forwards the REER packet to the previous HOP.
Definition at line 114 of file RouteError.c.


| int fn_NetSim_DSR_GenerateRERR | ( | DSR_MAINT_BUFFER * | maintBuffer, |
| NetSim_EVENTDETAILS * | pstruEventDetails | ||
| ) |
This function generates a route error packet.
Definition at line 33 of file RouteError.c.

| int fn_NetSim_DSR_ProcessRerr | ( | NetSim_EVENTDETAILS * | pstruEventDetails | ) |
This function process the route error that is received. It deletes the entry of the route to the target from the route cache and then forwards the Route error to the previous HOP.
Definition at line 97 of file RouteError.c.

| NETSIM_IPAddress fnGetPrevHop | ( | NetSim_PACKET * | packet | ) |
This function gets the previous hop to send the route error to.
Definition at line 21 of file RouteError.c.
