32 option =
calloc(1,
sizeof* option);
33 srcRouteOption=
calloc(1,
sizeof* srcRouteOption);
34 option->
options = srcRouteOption;
37 srcRouteOption->
F = cache->
F;
38 srcRouteOption->
L = cache->
L;
72 srcRouteOption = option->
options;
int fn_NetSim_DSR_FreePacket(NetSim_PACKET *packet)
#define DSR_SOURCEROUTE_SIZE_FIXED
unsigned int fn_NetSim_DSR_FillAddress(DSR_SOURCE_ROUTE_OPTION *srcOption, DSR_ROUTE_CACHE *cache, NETSIM_IPAddress src, NETSIM_IPAddress dest)
#define DSR_PROCESS_ACK_REQUEST(packet)
#define DSR_OPTION_HEADER_SIZE
NETSIM_IPAddress dsr_get_curr_ip()
#define IP_COMPARE(ip1, ip2)
int fn_NetSim_DSR_AddSourceRouteOption(NetSim_PACKET *packet, DSR_ROUTE_CACHE *cache)
int fn_NetSim_DSR_ProcessSourceRouteOption(NetSim_EVENTDETAILS *pstruEventDetails)
EXPORTED struct stru_NetSim_EventDetails * pstruEventDetails
DSR_OPTION_TYPE nOptionType
struct stru_NetSim_Packet * pPacket
NETWORK_LAYER_PROTOCOL nRoutingProtocol
void * Packet_RoutingProtocol
NETSIM_IPAddress szDestIP
struct stru_NetSim_Packet_NetworkLayer * pstruNetworkData
struct stru_NetSim_Packet_TransportLayer * pstruTransportData