![]() |
NetSim Source Code Help
|

Go to the source code of this file.
Functions | |
| int | fn_NetSim_AODV_PacketDropNotification (NetSim_PACKET *packet) |
| int | fn_NetSim_AODV_GeneralPacketProcessing (NetSim_EVENTDETAILS *pstruEventDetails) |
| int fn_NetSim_AODV_GeneralPacketProcessing | ( | NetSim_EVENTDETAILS * | pstruEventDetails | ) |
This function is called in the Network Out Event for routing of the packet.
If the Device route table has a route to the target, then the packet is added to sent to the next hop ip
Whenever a packet is to be routed to a destination and the device route cache doesnt have a route to the target, the Packet is added to the FIFO and a Route Discovery is iitiated if not already.
Update the life time
Update the metrics
No route found but RREQ is already sent
No route found. generate RREQ
Definition at line 30 of file GeneralPacketProcessing.c.

| int fn_NetSim_AODV_PacketDropNotification | ( | NetSim_PACKET * | packet | ) |
This function generates a route error.
Definition at line 20 of file RouteMaint.c.

