![]() |
NetSim Source Code Help
|

Go to the source code of this file.
Functions | |
| int | fn_NetSim_DSR_GeneralPacketProcessing (NetSim_EVENTDETAILS *pstruEventDetails) |
| int fn_NetSim_DSR_GeneralPacketProcessing | ( | NetSim_EVENTDETAILS * | pstruEventDetails | ) |
This function is called in the Network Out Event for routing of the packet.
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 Send buffer and a Route Discovery is iitiated.
If the Device route cache has a route to the target, then the packet is added to the Maintanence Buffer and the count of packets originated is incremented.
Definition at line 28 of file PacketProcessing.c.
