#include "main.h"
#include "Routing.h"
Go to the source code of this file.
◆ _CRT_SECURE_NO_DEPRECATE
| #define _CRT_SECURE_NO_DEPRECATE |
Definition at line 14 of file RIP.c.
◆ fn_NetSim_RIP_ConfigPacketTrace()
| char * fn_NetSim_RIP_ConfigPacketTrace |
( |
| ) |
|
This function will return the string to write packet trace heading.
Definition at line 78 of file RIP.c.
◆ fn_NetSim_RIP_Configure()
| int fn_NetSim_RIP_Configure |
( |
void ** |
var | ) |
|
This function is called by NetworkStack.dll, while configuring the device Application layer for RIP protocol.
Definition at line 21 of file RIP.c.
◆ fn_NetSim_RIP_CopyPacket()
This function is called by NetworkStack.dll, to copy the packet of RIP protocol from source to destination.
Definition at line 64 of file RIP.c.
◆ fn_NetSim_RIP_Finish()
| int fn_NetSim_RIP_Finish |
( |
| ) |
|
This function is called by NetworkStack.dll, once simulation end to free the allocated memory for the network.
Definition at line 40 of file RIP.c.
◆ fn_NetSim_RIP_FreePacket()
This function is called by NetworkStack.dll, to free the packet of RIP protocol
Definition at line 56 of file RIP.c.
◆ fn_NetSim_RIP_Init()
| int fn_NetSim_RIP_Init |
( |
struct stru_NetSim_Network * |
NETWORK_Formal, |
|
|
NetSim_EVENTDETAILS * |
pstruEventDetails_Formal, |
|
|
char * |
pszAppPath_Formal, |
|
|
char * |
pszWritePath_Formal, |
|
|
int |
nVersion_Type, |
|
|
void ** |
fnPointer |
|
) |
| |
This functon initializes the RIP parameters.
Definition at line 28 of file RIP.c.
◆ fn_NetSim_RIP_Metrics()
This function write the Metrics in Metrics.txt
Definition at line 71 of file RIP.c.
◆ fn_NetSim_RIP_Run()
| int fn_NetSim_RIP_Run |
( |
| ) |
|
This function is called by NetworkStack.dll, whenever the event gets triggered
inside the NetworkStack.dll for the Application layer RIP protocol
It includes APPLICATION_IN,NETWORK_OUT,NETWORK_IN and TIMER_EVENT.
Definition at line 95 of file RIP.c.
◆ fn_NetSim_RIP_Run_F()
| int fn_NetSim_RIP_Run_F |
( |
| ) |
|
This function is used to execute the RIP functionalities.
Definition at line 223 of file RIP.c.
◆ fn_NetSim_RIP_Trace()
| char * fn_NetSim_RIP_Trace |
( |
int |
nSubEvent | ) |
|
This function is called by NetworkStack.dll, while writing the evnt trace to get the sub event as a string.
Definition at line 49 of file RIP.c.
◆ fn_NetSim_RIP_TriggeredUpdate()
This function is used to send the RIP updates whenever routing table is updated
Definition at line 102 of file RIP.c.
◆ fn_NetSim_RIP_WritePacketTrace()
| char * fn_NetSim_RIP_WritePacketTrace |
( |
| ) |
|
This function will return the string to write packet trace.
Definition at line 85 of file RIP.c.