#define DSR_ADD_TO_MAINT_BUFFER(nDeviceId, pstruPacket, dTime)
#define DSR_INIT_RREQ(target, pprreqTable, nDeviceId, dTime)
#define DSR_CHECK_ROUTE_FOUND(destAddress, devVar, nextHop, dTime, ppcache)
#define DSR_ADD_TO_SEND_BUFFER(ppsendBuffer, packet, dTime)
#define DSR_ADD_SRC_ROUTE(packet, cache)
#define DSR_ADD_ACK_REQUEST(packet)
NETSIM_IPAddress dsr_get_curr_ip()
int fn_NetSim_DSR_LinkLayerAck(NetSim_PACKET *)
NETSIM_IPAddress IP_COPY(NETSIM_IPAddress ip)
void IP_FREE(NETSIM_IPAddress ip)
int fn_NetSim_DSR_GeneralPacketProcessing(NetSim_EVENTDETAILS *pstruEventDetails)
EXPORTED struct stru_NetSim_EventDetails * pstruEventDetails
NETSIM_ID fn_NetSim_Stack_GetDeviceId_asIP(NETSIM_IPAddress ip, NETSIM_ID *nInterfaceId)
struct stru_DSR_SendBuffer * pstruSendBuffer
Buffer in which packets are added if route to target is not known.
struct stru_DSR_RouteRequestTable * pstruRREQTable
A table in which entry of RREQ initiated is made.
struct stru_NetSim_Packet * pPacket
NETSIM_IPAddress szGatewayIP
NETSIM_IPAddress szDestIP
NETSIM_IPAddress szNextHopIp
struct stru_NetSim_Packet_NetworkLayer * pstruNetworkData
int(* ReceiveAckNotification)(struct stru_NetSim_Packet *ack)