![]() |
NetSim Source Code Help
|
Go to the source code of this file.
Data Structures | |
struct | stru_Router_RIP_Routing_database |
Routing database structure Reference : RFC 2453, November 1998, Page 8. More... | |
struct | stru_NetSim_RIP_Packet |
struct | stru_RIPEntry |
struct | stru_RIP |
Macros | |
#define | RIP_PACKET_SIZE_WITH_HEADER 512 |
#define | RIP_PORT 520 |
#define | EXPIRED_ROUTE 16 |
#define | _RIP_Trace |
Typedefs | |
typedef struct stru_NetSim_Router | DEVICE_ROUTER |
typedef struct stru_Router_Buffer | BUFFER_ROUTER |
typedef struct stru_NetSim_RIP_Packet | RIP_PACKET |
typedef struct stru_Router_RIP_Routing_database | RIP_ROUTING_DATABASE |
typedef struct stru_RIP_TempRouting_database | RIP_TEMPROUTING_DATABASE |
typedef struct stru_RIPEntry | RIP_ENTRY |
typedef enum enum_RIP_command | RIP_COMMAND |
typedef enum enum_RIP_Subevent_Type | SUB_EVENT |
Enumerations | |
enum | enum_RIP_Subevent_Type { SEND_RIP_UPDATE_PKT =APP_PROTOCOL_RIP*100+1 , RIP_TIMEOUT , RIP_GARBAGE_COLLECTION , ROUTING_TABLE_UPDATION } |
enum | enum_RIP_command { REQUEST =1 , RESPONSE } |
This enumeration is to denote the command field in RIP packet. More... | |
enum | enum_RIP_ControlPacketType { RIP_Packet = APP_PROTOCOL_RIP*100+1 } |
Variables | |
FILE * | fpRIPTrace |
NetSim_EVENTDETAILS * | pstruEventDetails_Formal |
NetSim_EVENTDETAILS char * | pszAppPath_Formal |
NetSim_EVENTDETAILS char char * | pszWritePath_Formal |
NetSim_EVENTDETAILS char char int | nVersion_Type |
NetSim_EVENTDETAILS char char int void ** | fnPointer |
typedef struct stru_Router_Buffer BUFFER_ROUTER |
typedef struct stru_NetSim_Router DEVICE_ROUTER |
typedef enum enum_RIP_command RIP_COMMAND |
typedef struct stru_RIPEntry RIP_ENTRY |
typedef struct stru_NetSim_RIP_Packet RIP_PACKET |
typedef struct stru_Router_RIP_Routing_database RIP_ROUTING_DATABASE |
typedef struct stru_RIP_TempRouting_database RIP_TEMPROUTING_DATABASE |
typedef enum enum_RIP_Subevent_Type SUB_EVENT |
enum enum_RIP_command |
_declspec | ( | dllexport | ) |
This function is used receive the updates from neighbor routers.
Function to copy the RIP packet from source to destination.
Function to free the allocated memory for the RIP packet.
Return the subevent name with respect to the subevent number for writting event trace.
Function to free the RIP protocol variable and Unload the primitives.
This function is used to trigger the update.
Function for configuring RIP parameters
Function for Intializing RIP protocol
Function to run RIP protocol
NetSim_PACKET *int fn_NetSim_RIP_CopyPacket_F | ( | NetSim_PACKET * | , |
NetSim_PACKET * | |||
) |
int fn_NetSim_RIP_DistanceVectorAlgorithm | ( | struct stru_NetSim_Network * | NETWORK, |
NetSim_EVENTDETAILS * | pstruEventDetails | ||
) |
Definition at line 27 of file DistanceVectorAlgorithm.c.
int fn_NetSim_RIP_Finish_F | ( | ) |
int fn_NetSim_RIP_FreePacket_F | ( | NetSim_PACKET * | ) |
int fn_NetSim_RIP_Garbage_Collection_Timer | ( | struct stru_NetSim_Network * | pstruNETWORK, |
NetSim_EVENTDETAILS * | pstruEventDetails | ||
) |
Definition at line 27 of file GarbageCollectionTimer.c.
int fn_NetSim_RIP_Init_F | ( | struct stru_NetSim_Network * | , |
NetSim_EVENTDETAILS * | , | ||
char * | , | ||
char * | , | ||
int | , | ||
void ** | fnPointer | ||
) |
int fn_NetSim_RIP_InitialTable_Creation | ( | NETSIM_ID | nDeviceId | ) |
This function is for forming the initial table for each router
int fn_NetSim_RIP_Metrics_F | ( | PMETRICSWRITER | metricsWriter | ) |
NetSim_EVENTDETAILS NetSim_EVENTDETAILS *int fn_NetSim_RIP_Run_F | ( | ) |
int fn_NetSim_RIP_Timeout_Timer | ( | struct stru_NetSim_Network * | pstruNETWORK, |
NetSim_EVENTDETAILS * | pstruEventDetails | ||
) |
Definition at line 25 of file TimeoutTimer.c.
char * fn_NetSim_RIP_Trace_F | ( | int | nSubEvent | ) |
int fn_NetSim_RIP_Update_Timer | ( | struct stru_NetSim_Network * | pstruNETWORK, |
NetSim_EVENTDETAILS * | pstruEventDetails | ||
) |
Definition at line 26 of file UpdateTimer.c.
int fn_NetSim_RIP_UpdatingEntriesinRoutingDatabase | ( | struct stru_NetSim_Network * | , |
int | , | ||
NETSIM_IPAddress | , | ||
NETSIM_IPAddress | , | ||
NETSIM_IPAddress | , | ||
NETSIM_ID | , | ||
double | , | ||
unsigned int | |||
) |
This function is used to update the database of router.
int fn_NetSim_RIPTrace | ( | struct stru_NetSim_Network * | , |
NETSIM_ID | , | ||
int | |||
) |
DEVICE_ROUTER * get_RIP_var | ( | NETSIM_ID | d | ) |
bool isRIPConfigured | ( | NETSIM_ID | d | ) |
void set_RIP_var | ( | NETSIM_ID | d, |
DEVICE_ROUTER * | rip | ||
) |
NetSim_EVENTDETAILS char char int void** fnPointer |
NetSim_EVENTDETAILS char char int nVersion_Type |
NetSim_EVENTDETAILS* pstruEventDetails_Formal |
NetSim_EVENTDETAILS char* pszAppPath_Formal |
NetSim_EVENTDETAILS char char* pszWritePath_Formal |