#include "main.h"
#include "Routing.h"
Go to the source code of this file.
|
| 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) |
| |
◆ 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.
◆ 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.
◆ fnCheckRoutingPacket()
| int fnCheckRoutingPacket |
( |
| ) |
|
◆ fnCheckRoutingProtocol()
◆ UpdateInterfaceList()
| int UpdateInterfaceList |
( |
| ) |
|
This function is used to update the protocol status in the interface
Definition at line 45 of file Routing.c.