#include "main.h"
#include "AODV.h"
#include "List.h"
Go to the source code of this file.
◆ fn_NetSim_AODV_ConfigPacketTrace()
| char * fn_NetSim_AODV_ConfigPacketTrace |
( |
| ) |
|
This function will return the string to write packet trace heading.
Definition at line 212 of file AODV.c.
◆ fn_NetSim_AODV_ConfigPacketTrace_F()
| char * fn_NetSim_AODV_ConfigPacketTrace_F |
( |
| ) |
|
◆ fn_NetSim_AODV_Configure()
| int fn_NetSim_AODV_Configure |
( |
void ** |
var | ) |
|
This function is called by NetworkStack.dll, while configuring the device NETWORK layer for AODV protocol.
Definition at line 205 of file AODV.c.
◆ fn_NetSim_AODV_Configure_F()
| int fn_NetSim_AODV_Configure_F |
( |
| ) |
|
◆ fn_NetSim_AODV_CopyPacket()
This function is called by NetworkStack.dll, to copy the AODV protocol parameters from source packet to destination.
Definition at line 190 of file AODV.c.
◆ fn_NetSim_AODV_CopyPacket_F()
| int fn_NetSim_AODV_CopyPacket_F |
( |
| ) |
|
◆ fn_NetSim_AODV_Finish()
| int fn_NetSim_AODV_Finish |
( |
| ) |
|
This function is called by NetworkStack.dll, once simulation end to free the allocated memory for the network.
Definition at line 220 of file AODV.c.
◆ fn_NetSim_AODV_Finish_F()
| int fn_NetSim_AODV_Finish_F |
( |
| ) |
|
◆ fn_NetSim_AODV_FreePacket()
This function is called by NetworkStack.dll, to free the AODV protocol parameters.
Definition at line 182 of file AODV.c.
◆ fn_NetSim_AODV_FreePacket_F()
| int fn_NetSim_AODV_FreePacket_F |
( |
| ) |
|
◆ fn_NetSim_AODV_Init()
| int fn_NetSim_AODV_Init |
( |
| ) |
|
AODV Init function initializes the AODV parameters.
Definition at line 35 of file AODV.c.
◆ fn_NetSim_AODV_Init_F()
| int fn_NetSim_AODV_Init_F |
( |
| ) |
|
◆ fn_NetSim_AODV_Metrics()
This function call WLAN Metrics function in lib file to write the Metrics in Metrics.txt
Definition at line 197 of file AODV.c.
◆ fn_NetSim_AODV_Metrics_F()
◆ fn_NetSim_AODV_Run()
| int fn_NetSim_AODV_Run |
( |
| ) |
|
This is the AODV Run function which gets called by the
IP layer
for routing the data
NETWORK_OUT_EVENT -
It process the
Data Packets which arrive at the NetworkOut layer to route the packet.
NETWORK_IN_EVENT -
It processes
Data Packets, Route Request Packets, Route Reply Packets, Route Error
Packets, Ack Packet
It Process the AODV Route Request timeout and the AODV Maintenance Buffer timeout.
void IP(uint state[], uchar in[])
Definition at line 54 of file AODV.c.
◆ fn_NetSim_AODV_Trace()
This function is called by NetworkStack.dll, while writing the evnt trace to get the sub event as a string.
Definition at line 175 of file AODV.c.
◆ fn_NetSim_AODV_Trace_F()
◆ fn_NetSim_AODV_WritePacketTrace()
| char * fn_NetSim_AODV_WritePacketTrace |
( |
| ) |
|
This function will return the string to write packet trace.
Definition at line 227 of file AODV.c.
◆ fn_NetSim_AODV_WritePacketTrace_F()
| char * fn_NetSim_AODV_WritePacketTrace_F |
( |
| ) |
|