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

Go to the source code of this file.

Functions

int fn_NetSim_RIP_Update_Timer (struct stru_NetSim_Network *pstruNETWORK, NetSim_EVENTDETAILS *pstruEventDetails)
 

Function Documentation

◆ fn_NetSim_RIP_Update_Timer()

int fn_NetSim_RIP_Update_Timer ( struct stru_NetSim_Network pstruNETWORK,
NetSim_EVENTDETAILS pstruEventDetails 
)
Every 30 seconds, the RIP process is awakened to send an unsolicited response message
containing the complete routing table to every neighboring router.
1. Create the RIP packet
2. Add the RIP packets in the WAN ports of the current router
3. Add the packet in the socket buffer for transmitting the RIP packet

Definition at line 26 of file UpdateTimer.c.

Here is the call graph for this function:
Here is the caller graph for this function: