NetSim Source Code Help
Loading...
Searching...
No Matches
SourceRoute.c File Reference
#include "main.h"
#include "List.h"
#include "DSR.h"
Include dependency graph for SourceRoute.c:

Go to the source code of this file.

Functions

int fn_NetSim_DSR_AddSourceRouteOption (NetSim_PACKET *packet, DSR_ROUTE_CACHE *cache)
 
int fn_NetSim_DSR_ProcessSourceRouteOption (NetSim_EVENTDETAILS *pstruEventDetails)
 

Function Documentation

◆ fn_NetSim_DSR_AddSourceRouteOption()

int fn_NetSim_DSR_AddSourceRouteOption ( NetSim_PACKET packet,
DSR_ROUTE_CACHE cache 
)

This function adds the source route option

Definition at line 20 of file SourceRoute.c.

Here is the call graph for this function:

◆ fn_NetSim_DSR_ProcessSourceRouteOption()

int fn_NetSim_DSR_ProcessSourceRouteOption ( NetSim_EVENTDETAILS pstruEventDetails)

This function process the data packet. it the device is the intended target, it adds a Transport_In_Event. Else it adds Network_Out_Event

Definition at line 58 of file SourceRoute.c.

Here is the call graph for this function: