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

Go to the source code of this file.

Functions

int fn_NetSim_Routing_Run ()
 
int fn_NetSim_UpdateEntryinRoutingTable (struct stru_NetSim_Network *NETWORK, NetSim_EVENTDETAILS *pstruEventDetails, NETSIM_ID nDeviceId, NETSIM_ID nInterfaceId, unsigned int bgpRemoteAS, NETSIM_IPAddress szDestinationIP, NETSIM_IPAddress szNexthop, NETSIM_IPAddress szSubnetmask, unsigned int prefix_len, int nCost, int nFlag)
 
int UpdateInterfaceList ()
 
int fnCheckRoutingPacket ()
 
APPLICATION_LAYER_PROTOCOL fnCheckRoutingProtocol (NETSIM_ID deviceId)
 

Function Documentation

◆ fn_NetSim_Routing_Run()

int fn_NetSim_Routing_Run ( )

This function is used to call the inter and intra area routing protocols

Definition at line 17 of file Routing.c.

Here is the call graph for this function:

◆ fn_NetSim_UpdateEntryinRoutingTable()

int fn_NetSim_UpdateEntryinRoutingTable ( struct stru_NetSim_Network NETWORK,
NetSim_EVENTDETAILS pstruEventDetails,
NETSIM_ID  nDeviceId,
NETSIM_ID  nInterfaceId,
unsigned int  bgpRemoteAS,
NETSIM_IPAddress  szDestinationIP,
NETSIM_IPAddress  szNexthop,
NETSIM_IPAddress  szSubnetmask,
unsigned int  prefix_len,
int  nCost,
int  nFlag 
)

This function is used to update the entries in routing table

Definition at line 30 of file Routing.c.

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

◆ fnCheckRoutingPacket()

int fnCheckRoutingPacket ( )

Definition at line 77 of file Routing.c.

Here is the caller graph for this function:

◆ fnCheckRoutingProtocol()

APPLICATION_LAYER_PROTOCOL fnCheckRoutingProtocol ( NETSIM_ID  deviceId)

Definition at line 84 of file Routing.c.

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

◆ UpdateInterfaceList()

int UpdateInterfaceList ( )

This function is used to update the protocol status in the interface

Definition at line 45 of file Routing.c.

Here is the call graph for this function: