NetSim Source Code Help
Loading...
Searching...
No Matches
OSPF.h File Reference
#include "OSPF_Typedef.h"
Include dependency graph for OSPF.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  stru_address_range
 
struct  stru_area_ds
 
struct  stru_ospf_pds
 
struct  stru_event_details_lsdb
 
struct  stru_OSPF_PATH
 
struct  stru_OSPF_COST_LIST
 

Macros

#define GET_LOWER_IP(ip1, ip2)   ((ip1) ? ((ip2) ? ((ip1)->int_ip[0] < (ip2)->int_ip[0] ? (ip1) : (ip2)) : (ip1)) : (ip2));
 
#define DEVICE_CURR_IP   (DEVICE_NWADDRESS(pstruEventDetails->nDeviceId,pstruEventDetails->nInterfaceId))
 
#define DEVICE_CURR_MASK   (DEVICE_SUBNETMASK(pstruEventDetails->nDeviceId,pstruEventDetails->nInterfaceId))
 
#define OSPF_CURR_TIME()   (pstruEventDetails->dEventTime)
 
#define strAllSPFRouters   "224.0.0.5"
 
#define strAllDRouters   "224.0.0.6"
 
#define strNULLIP   "0.0.0.0"
 
#define strInvalidAreaId   "255.255.255.254"
 
#define strSingleAreaId   "255.255.255.255"
 
#define strBackboneAreaId   "0.0.0.0"
 
#define ANY_DEST   (GET_BROADCAST_IP(4))
 
#define OSPF_BROADCAST_JITTER   (0*MILLISECOND)
 
#define OSPF_DO_NOT_AGE   (0x8000)
 
#define OSPF_LSA_MAX_AGE_DIFF   (15 * MINUTE)
 
#define OSPF_AREA_GET_IN(ospf, in)   (OSPF_AREA_GET((ospf),(in),NULL,NULL))
 
#define OSPF_AREA_GET_ID(ospf, id)   (OSPF_AREA_GET((ospf),0,(id),NULL))
 
#define OSPF_AREA_GET_IP(ospf, ip)   (OSPF_AREA_GET((ospf),0,NULL,(ip)))
 
#define OSPF_PDS_SET(d, ospf)   (fn_NetSim_Stack_SetAppProtocolData(d,APP_PROTOCOL_OSPF,ospf))
 
#define OSPF_PDS_GET(d)   ((ptrOSPF_PDS)(DEVICE_APPVAR(d,APP_PROTOCOL_OSPF)))
 
#define OSPF_PDS_CURRENT()   (OSPF_PDS_GET(pstruEventDetails->nDeviceId))
 
#define OSPF_IF_CURRENT()   (OSPF_IF_GET(OSPF_PDS_CURRENT(), pstruEventDetails->nInterfaceId))
 
#define ospf_event_add(time, d, in, subevent, packet, eventdata)   ospf_event_add_dbg(time,d,in,subevent,packet,eventdata,__LINE__,__FILE__)
 

Typedefs

typedef enum enum_ospf_router_type OSPFRTYPE
 
typedef enum enum_address_range_status ADDR_RN_STATUS
 
typedef struct stru_address_range ADDR_RN
 
typedef struct stru_address_rangeptrADDR_RN
 
typedef struct stru_area_ds OSPFAREA_DS
 
typedef struct stru_area_dsptrOSPFAREA_DS
 
typedef struct stru_event_details_lsdb EVENTLSDB
 
typedef struct stru_event_details_lsdbptrEVENTLSDB
 
typedef struct stru_OSPF_PATH OSPF_PATH
 
typedef struct stru_OSPF_PATHptrOSPF_PATH
 
typedef struct stru_OSPF_COST_LIST OSPF_COST_LIST
 
typedef struct stru_OSPF_COST_LISTptrOSPF_COST_LIST
 

Enumerations

enum  OSPFLOGFLAG { OSPF_LOG , OSPF_HELLO_LOG }
 
enum  enum_ospf_router_type { OSPFRTYPE_INTERNAL , OSPFRTYPE_ABR , OSPFRTYPE_BACKBONE , OSPFRTYPE_ASBOUNDARY }
 
enum  enum_address_range_status { ADDRRNSTATUS_ADVERTISE , ADDRRNSTATUS_DONOTADVERTISE }
 

Functions

ptrOSPFAREA_DS OSPF_AREA_GET (ptrOSPF_PDS ospf, NETSIM_ID in, OSPFID areaId, NETSIM_IPAddress interfaceIP)
 
void OSPF_AREA_SET (ptrOSPF_PDS ospf, ptrOSPFAREA_DS area)
 
void ospf_process_hello ()
 
void ospf_handle_helloTimer_event ()
 
void start_interval_hello_timer ()
 
void start_sending_dd_msg ()
 
void ospf_handle_DD ()
 
ptrOSPF_IF OSPF_IF_GET (ptrOSPF_PDS ospf, NETSIM_ID ifId)
 
void ospf_handle_interfaceUp_event ()
 
void ospf_handle_interfaceDown_event ()
 
void ospf_interface_handleMultipleInterfaceEvent ()
 
ptrOSPF_NEIGHBOR OSPF_NEIGHBOR_FIND (ptrOSPF_IF ospf, OSPFID id)
 
ptrOSPF_NEIGHBOR OSPF_NEIGHBOR_FIND_BY_IP (ptrOSPF_IF thisInterface, NETSIM_IPAddress ip)
 
bool ospf_is_router_fullAdjacentWithDR (ptrOSPF_IF ospf)
 
bool ospf_is_dr_router_fulladjacentwithAnother (ptrOSPF_IF ospf)
 
void ospf_neighbor_insertToSendList (ptrOSPFLIST list, ptrOSPFLSAHDR lsa, double time)
 
ptrOSPFLSAHDR ospf_neighbor_searchSendList (ptrOSPFLIST list, ptrOSPFLSAHDR lsa)
 
bool ospf_neighbor_isAnyNeighborInExchangeOrLoadingState (ptrOSPF_PDS ospf)
 
NETSIM_ID ospf_neighbor_getInterfaceIdforThisNeighbor (ptrOSPF_PDS ospf, NETSIM_IPAddress neighIPaddr)
 
ptrOSPF_NEIGHBOR ospf_neighbor_new (NETSIM_IPAddress ip, OSPFID rid)
 
void ospf_neighbor_add (ptrOSPF_IF ospf, ptrOSPF_NEIGHBOR neigh)
 
void ospf_neighbor_handle_helloReceived_event ()
 
void ospf_neighbor_handle_1way_event ()
 
void ospf_neighbor_handle_2wayReceived_event ()
 
void ospf_neighbor_handle_negotiationDone_event ()
 
void ospf_neighbor_handle_exchangeDone_event ()
 
void ospf_neighbor_handle_start_event ()
 
void ospf_neighbor_handle_inactivityTimer_event ()
 
void ospf_neighbor_handle_LoadingDoneEvent ()
 
void ospf_neighbor_handle_KillNbrEvent ()
 
void ospf_area_init (NETSIM_ID d, NETSIM_ID in)
 
void ospf_area_handleABRTask (ptrOSPF_PDS ospf)
 
void ospf_lsahdr_add_lsa (ptrOSPFLSAHDR lhdr, void *lsa, UINT16 len)
 
bool ospf_lsa_update_lsahdr (ptrOSPF_PDS ospf, ptrOSPFAREA_DS area, ptrOSPFLSAHDR lsa, ptrOSPFLSAHDR old, LSTYPE lstype)
 
void ospf_lsa_print (char *logid, ptrOSPFLSAHDR LSHeader, char *msg)
 
void ospf_lsa_printList (char *logid, ptrOSPFLIST list, char *name)
 
void ospf_lsa_schedule_routerLSA (ptrOSPF_PDS ospf, ptrOSPFAREA_DS area, bool isFlush)
 
void ospf_lsa_scheduleNWLSA (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPFAREA_DS area, bool isFlush)
 
void ospf_lsa_scheduleSummaryLSA (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPFAREA_DS area, NETSIM_IPAddress destAddr, NETSIM_IPAddress destMask, OSPFDESTTYPE destType, bool isFlush)
 
void ospf_lsa_schedule (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPFAREA_DS area, ptrOSPFLSAHDR lsa)
 
void ospf_lsa_ScheduleLSDB ()
 
void ospf_lsa_handle_floodTimer_event ()
 
UINT16 ospf_lsa_maskDoNotAge (ptrOSPF_PDS ospf, UINT16 routerLSAAge)
 
void ospf_lsa_assignNewLSAge (ptrOSPF_PDS ospf, UINT16 *routerLSAAge, UINT16 newLSAAge)
 
int ospf_lsa_compare (ptrOSPF_PDS ospf, ptrOSPFLSAHDR oldLS, ptrOSPFLSAHDR newLS)
 
bool ospf_lsa_compareToListMem (ptrOSPF_PDS ospf, ptrOSPFLSAHDR oldLS, ptrOSPFLSAHDR newLS)
 
int ospf_lsa_isMoreRecent (ptrOSPF_PDS ospf, ptrOSPFLSAHDR newLSA, ptrOSPFLSAHDR oldLSA)
 
bool ospf_lsa_isSelfOriginated (ptrOSPF_PDS ospf, ptrOSPFLSAHDR lsa)
 
void ospf_lsa_queueToFlood (ptrOSPF_PDS pds, ptrOSPF_IF ospf, ptrOSPFLSAHDR lsa)
 
bool ospf_lsa_flood (ptrOSPF_PDS pds, OSPFID area, ptrOSPFLSAHDR lsa, NETSIM_IPAddress srcAddr, NETSIM_ID in)
 
void ospf_lsa_flush (ptrOSPF_PDS ospf, ptrOSPFAREA_DS area, ptrOSPFLSAHDR lsa)
 
bool ospf_lsa_is_content_changed (ptrOSPF_PDS ospf, ptrOSPFLSAHDR newLSA, ptrOSPFLSAHDR oldLSA)
 
void ospf_lsa_assignNewLSAIntoLSOrigin (ptrOSPF_PDS pds, ptrOSPFLSAHDR LSA, ptrOSPFLSAHDR newLSA)
 
bool ospf_lsa_hasMaxAge (ptrOSPF_PDS ospf, ptrOSPFLSAHDR lsa)
 
bool ospf_lsa_checkForDoNotAge (ptrOSPF_PDS ospf, UINT16 routerLSAAge)
 
void ospf_lsa_addToMaxAgeLSAList (ptrOSPF_PDS ospf, OSPFID areaId, ptrOSPFLSAHDR lsa)
 
bool ospf_lsa_hasLink (ptrOSPF_PDS ospf, ptrOSPFLSAHDR wlsa, ptrOSPFLSAHDR vlsa)
 
ptrOSPFLSAHDR ospf_lsa_find_old_lsa (ptrOSPFLIST list, OSPFID rid, OSPFID lid)
 
void ospf_lsa_printRLSA (char *logid, ptrOSPFRLSA rlsa)
 
bool Ospf_rlsa_getASBRouter (UINT8 VEB)
 
bool Ospf_rlsa_getABRouter (UINT8 VEB)
 
void ospf_rlsa_originateRouterLSA (ptrOSPFAREA_DS area, bool isFlush)
 
bool ospf_rlsa_isBodyChanged (ptrOSPFLSAHDR newLSA, ptrOSPFLSAHDR oldLSA)
 
bool ospf_rlsa_hasLink (ptrOSPF_PDS ospf, ptrOSPFLSAHDR wlsa, ptrOSPFLSAHDR vlsa)
 
ptrOSPFLSAHDR ospf_lsdb_lookup_lsaList (ptrOSPFLIST list, OSPFID adverRouter, OSPFID linkStateId)
 
ptrOSPFLSAHDR ospf_lsdb_lookup_lsaListByID (ptrOSPFLIST list, OSPFID linkStateId)
 
ptrOSPFLSAHDR ospf_lsdb_lookup (ptrOSPF_PDS ospf, ptrOSPFAREA_DS area, LSTYPE lsType, OSPFID adveRouter, OSPFID linkStateID)
 
bool ospf_lsdb_install (ptrOSPF_PDS ospf, OSPFID areaId, ptrOSPFLSAHDR lsa, ptrOSPFLIST list)
 
bool ospf_lsdb_update (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPFLSAHDR lsa, ptrOSPFAREA_DS thisArea, NETSIM_IPAddress srcAddr)
 
void ospf_lsdb_scheduleMaxAgeRemovalTimer (ptrOSPF_PDS ospf)
 
void ospf_lsdb_handleMaxAgeRemovalTimer ()
 
void ospf_lsdb_removeLSA (ptrOSPF_PDS ospf, ptrOSPFAREA_DS area, ptrOSPFLSAHDR lsa)
 
void ospf_LSDB_handle_IncrementAge_event ()
 
void ospf_handle_LSUPDATE ()
 
void ospf_lsupdate_send ()
 
void ospf_lsu_sendLSUpdateToNeighbor (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface)
 
void ospf_lsupdate_handleRxmtTimer ()
 
void ospf_lsaAck_sendDelayedAck (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPFLSAHDR lsa)
 
void ospf_lsaAck_sendDirectAck (ptrOSPF_PDS ospf, NETSIM_ID interfaceId, ptrARRAYLIST ackList, NETSIM_IPAddress nbrAddr)
 
void ospf_lsack_handleDelayedAckTimer ()
 
void ospf_handle_LSAck ()
 
ptrOSPFLIST ospf_lsreq_initList ()
 
ptrOSPFLSAHDR ospf_lsReq_searchFromList (ptrOSPF_NEIGHBOR neigh, ptrOSPFLSAHDR lsa)
 
void ospf_lsreq_insertToList (ptrOSPF_NEIGHBOR neigh, ptrOSPFLSAHDR lsHdr, double time)
 
void ospf_lsreq_removeFromReqList (ptrOSPFLIST list, ptrOSPFLSAHDR lsa)
 
bool ospf_lsreq_isRequestedLSAReceived (ptrOSPF_NEIGHBOR neigh)
 
void ospf_lsreq_send (ptrOSPF_PDS ospf, NETSIM_ID interfaceId, NETSIM_IPAddress nbrAddr, bool retx)
 
void ospf_lsreq_retransmit (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPF_NEIGHBOR neigh, UINT seqNum)
 
void ospf_handle_LSRequest ()
 
void ospf_spf_scheduleCalculation (ptrOSPF_PDS ospf)
 
void ospf_spf_handleCalculateSPFEvent ()
 
OSPFIFSTATE ospf_DR_election (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface)
 
bool ospf_isMyAddr (NETSIM_ID d, NETSIM_IPAddress addr)
 
NETSIM_ID ospf_getInterfaceIdForNextHop (NETSIM_ID d, NETSIM_IPAddress addr)
 
bool isOSPFConfigured (NETSIM_ID d)
 
char * form_dlogId (char *name, NETSIM_ID d)
 
bool isOSPFSPFLog ()
 
bool isOSPFHelloLog ()
 
void print_ospf_log (OSPFLOGFLAG logFlag, char *format,...)
 
void print_ospf_Dlog (char *id, char *format,...)
 
void init_ospf_dlog (char *id, char *fileName)
 
bool ospf_dlog_isEnable (char *id)
 
UINT64 ospf_event_add_dbg (double time, NETSIM_ID d, NETSIM_ID in, int subevent, NetSim_PACKET *packet, void *eventData, int line, char *file)
 
void ospf_event_set (int subevent)
 
void ospf_event_set_and_call (int subevent, void *otherDetails)
 
ptrOSPF_COST_LIST fn_NetSim_App_Routing_Init (NETSIM_ID d, ptrOSPF_COST_LIST list)
 
bool get_ospf_log_status ()
 

Variables

static bool isOSPFHelloDebug = false
 
static bool isOSPFSPFDebug = false
 
NETSIM_IPAddress AllSPFRouters
 
NETSIM_IPAddress AllDRouters
 
OSPFID NullID
 
OSPFID invalidAreaId
 
OSPFID backboneAreaId
 
OSPFID singleAreaId
 

Macro Definition Documentation

◆ ANY_DEST

#define ANY_DEST   (GET_BROADCAST_IP(4))

Definition at line 54 of file OSPF.h.

◆ DEVICE_CURR_IP

#define DEVICE_CURR_IP   (DEVICE_NWADDRESS(pstruEventDetails->nDeviceId,pstruEventDetails->nInterfaceId))

Definition at line 37 of file OSPF.h.

◆ DEVICE_CURR_MASK

#define DEVICE_CURR_MASK   (DEVICE_SUBNETMASK(pstruEventDetails->nDeviceId,pstruEventDetails->nInterfaceId))

Definition at line 38 of file OSPF.h.

◆ GET_LOWER_IP

#define GET_LOWER_IP (   ip1,
  ip2 
)    ((ip1) ? ((ip2) ? ((ip1)->int_ip[0] < (ip2)->int_ip[0] ? (ip1) : (ip2)) : (ip1)) : (ip2));

Definition at line 36 of file OSPF.h.

◆ OSPF_AREA_GET_ID

#define OSPF_AREA_GET_ID (   ospf,
  id 
)    (OSPF_AREA_GET((ospf),0,(id),NULL))

Definition at line 106 of file OSPF.h.

◆ OSPF_AREA_GET_IN

#define OSPF_AREA_GET_IN (   ospf,
  in 
)    (OSPF_AREA_GET((ospf),(in),NULL,NULL))

Definition at line 105 of file OSPF.h.

◆ OSPF_AREA_GET_IP

#define OSPF_AREA_GET_IP (   ospf,
  ip 
)    (OSPF_AREA_GET((ospf),0,NULL,(ip)))

Definition at line 107 of file OSPF.h.

◆ OSPF_BROADCAST_JITTER

#define OSPF_BROADCAST_JITTER   (0*MILLISECOND)

Definition at line 56 of file OSPF.h.

◆ OSPF_CURR_TIME

#define OSPF_CURR_TIME ( )    (pstruEventDetails->dEventTime)

Definition at line 40 of file OSPF.h.

◆ OSPF_DO_NOT_AGE

#define OSPF_DO_NOT_AGE   (0x8000)

Definition at line 57 of file OSPF.h.

◆ ospf_event_add

#define ospf_event_add (   time,
  d,
  in,
  subevent,
  packet,
  eventdata 
)    ospf_event_add_dbg(time,d,in,subevent,packet,eventdata,__LINE__,__FILE__)

Definition at line 400 of file OSPF.h.

◆ OSPF_IF_CURRENT

#define OSPF_IF_CURRENT ( )    (OSPF_IF_GET(OSPF_PDS_CURRENT(), pstruEventDetails->nInterfaceId))

Definition at line 179 of file OSPF.h.

◆ OSPF_LSA_MAX_AGE_DIFF

#define OSPF_LSA_MAX_AGE_DIFF   (15 * MINUTE)

Definition at line 58 of file OSPF.h.

◆ OSPF_PDS_CURRENT

#define OSPF_PDS_CURRENT ( )    (OSPF_PDS_GET(pstruEventDetails->nDeviceId))

Definition at line 151 of file OSPF.h.

◆ OSPF_PDS_GET

#define OSPF_PDS_GET (   d)    ((ptrOSPF_PDS)(DEVICE_APPVAR(d,APP_PROTOCOL_OSPF)))

Definition at line 150 of file OSPF.h.

◆ OSPF_PDS_SET

#define OSPF_PDS_SET (   d,
  ospf 
)    (fn_NetSim_Stack_SetAppProtocolData(d,APP_PROTOCOL_OSPF,ospf))

Definition at line 149 of file OSPF.h.

◆ strAllDRouters

#define strAllDRouters   "224.0.0.6"

Definition at line 43 of file OSPF.h.

◆ strAllSPFRouters

#define strAllSPFRouters   "224.0.0.5"

Definition at line 42 of file OSPF.h.

◆ strBackboneAreaId

#define strBackboneAreaId   "0.0.0.0"

Definition at line 47 of file OSPF.h.

◆ strInvalidAreaId

#define strInvalidAreaId   "255.255.255.254"

Definition at line 45 of file OSPF.h.

◆ strNULLIP

#define strNULLIP   "0.0.0.0"

Definition at line 44 of file OSPF.h.

◆ strSingleAreaId

#define strSingleAreaId   "255.255.255.255"

Definition at line 46 of file OSPF.h.

Typedef Documentation

◆ ADDR_RN

typedef struct stru_address_range ADDR_RN

◆ ADDR_RN_STATUS

◆ EVENTLSDB

◆ OSPF_COST_LIST

◆ OSPF_PATH

typedef struct stru_OSPF_PATH OSPF_PATH

◆ OSPFAREA_DS

typedef struct stru_area_ds OSPFAREA_DS

◆ OSPFRTYPE

◆ ptrADDR_RN

typedef struct stru_address_range * ptrADDR_RN

◆ ptrEVENTLSDB

◆ ptrOSPF_COST_LIST

◆ ptrOSPF_PATH

typedef struct stru_OSPF_PATH * ptrOSPF_PATH

◆ ptrOSPFAREA_DS

typedef struct stru_area_ds* ptrOSPFAREA_DS

Enumeration Type Documentation

◆ enum_address_range_status

Enumerator
ADDRRNSTATUS_ADVERTISE 
ADDRRNSTATUS_DONOTADVERTISE 

Definition at line 68 of file OSPF.h.

◆ enum_ospf_router_type

Enumerator
OSPFRTYPE_INTERNAL 
OSPFRTYPE_ABR 
OSPFRTYPE_BACKBONE 
OSPFRTYPE_ASBOUNDARY 

Definition at line 60 of file OSPF.h.

◆ OSPFLOGFLAG

Enumerator
OSPF_LOG 
OSPF_HELLO_LOG 

Definition at line 29 of file OSPF.h.

Function Documentation

◆ fn_NetSim_App_Routing_Init()

ptrOSPF_COST_LIST fn_NetSim_App_Routing_Init ( NETSIM_ID  d,
ptrOSPF_COST_LIST  list 
)
Here is the caller graph for this function:

◆ form_dlogId()

char * form_dlogId ( char *  name,
NETSIM_ID  d 
)

Definition at line 178 of file OSPF.c.

Here is the caller graph for this function:

◆ get_ospf_log_status()

bool get_ospf_log_status ( )

Definition at line 206 of file OSPF.c.

◆ init_ospf_dlog()

void init_ospf_dlog ( char *  id,
char *  fileName 
)

◆ isOSPFConfigured()

bool isOSPFConfigured ( NETSIM_ID  d)

◆ isOSPFHelloLog()

bool isOSPFHelloLog ( )

Definition at line 167 of file OSPF.c.

◆ isOSPFSPFLog()

bool isOSPFSPFLog ( )

Definition at line 172 of file OSPF.c.

◆ OSPF_AREA_GET()

ptrOSPFAREA_DS OSPF_AREA_GET ( ptrOSPF_PDS  ospf,
NETSIM_ID  in,
OSPFID  areaId,
NETSIM_IPAddress  interfaceIP 
)

Definition at line 21 of file OSPF_Area.c.

◆ ospf_area_handleABRTask()

void ospf_area_handleABRTask ( ptrOSPF_PDS  ospf)

Definition at line 126 of file OSPF_Area.c.

Here is the caller graph for this function:

◆ ospf_area_init()

void ospf_area_init ( NETSIM_ID  d,
NETSIM_ID  in 
)

Definition at line 101 of file OSPF_Area.c.

Here is the call graph for this function:

◆ OSPF_AREA_SET()

void OSPF_AREA_SET ( ptrOSPF_PDS  ospf,
ptrOSPFAREA_DS  area 
)

Definition at line 43 of file OSPF_Area.c.

Here is the caller graph for this function:

◆ ospf_dlog_isEnable()

bool ospf_dlog_isEnable ( char *  id)
Here is the caller graph for this function:

◆ ospf_DR_election()

OSPFIFSTATE ospf_DR_election ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface 
)

Definition at line 190 of file OSPF_DR.c.

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

◆ ospf_event_add_dbg()

UINT64 ospf_event_add_dbg ( double  time,
NETSIM_ID  d,
NETSIM_ID  in,
int  subevent,
NetSim_PACKET packet,
void *  eventData,
int  line,
char *  file 
)

◆ ospf_event_set()

void ospf_event_set ( int  subevent)

◆ ospf_event_set_and_call()

void ospf_event_set_and_call ( int  subevent,
void *  otherDetails 
)
Here is the caller graph for this function:

◆ ospf_getInterfaceIdForNextHop()

NETSIM_ID ospf_getInterfaceIdForNextHop ( NETSIM_ID  d,
NETSIM_IPAddress  addr 
)
Here is the caller graph for this function:

◆ ospf_handle_DD()

void ospf_handle_DD ( )

Definition at line 510 of file OSPF_DD.c.

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

◆ ospf_handle_helloTimer_event()

void ospf_handle_helloTimer_event ( )

Definition at line 157 of file OSPF_Hello.c.

Here is the call graph for this function:

◆ ospf_handle_interfaceDown_event()

void ospf_handle_interfaceDown_event ( )

Definition at line 132 of file OSPF_Interface.c.

Here is the call graph for this function:

◆ ospf_handle_interfaceUp_event()

void ospf_handle_interfaceUp_event ( )

Definition at line 71 of file OSPF_Interface.c.

Here is the call graph for this function:

◆ ospf_handle_LSAck()

void ospf_handle_LSAck ( )

Definition at line 217 of file OSPF_LSAACK.c.

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

◆ ospf_handle_LSRequest()

void ospf_handle_LSRequest ( )

Definition at line 269 of file OSPF_LSREQ.c.

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

◆ ospf_handle_LSUPDATE()

void ospf_handle_LSUPDATE ( )

Definition at line 210 of file OSPF_LSUPDATE.c.

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

◆ OSPF_IF_GET()

ptrOSPF_IF OSPF_IF_GET ( ptrOSPF_PDS  ospf,
NETSIM_ID  ifId 
)

Definition at line 33 of file OSPF_Interface.c.

Here is the caller graph for this function:

◆ ospf_interface_handleMultipleInterfaceEvent()

void ospf_interface_handleMultipleInterfaceEvent ( )

Definition at line 106 of file OSPF_Interface.c.

Here is the call graph for this function:

◆ ospf_is_dr_router_fulladjacentwithAnother()

bool ospf_is_dr_router_fulladjacentwithAnother ( ptrOSPF_IF  ospf)

Definition at line 509 of file OSPF_Neighbor.c.

Here is the caller graph for this function:

◆ ospf_is_router_fullAdjacentWithDR()

bool ospf_is_router_fullAdjacentWithDR ( ptrOSPF_IF  ospf)

Definition at line 496 of file OSPF_Neighbor.c.

Here is the caller graph for this function:

◆ ospf_isMyAddr()

bool ospf_isMyAddr ( NETSIM_ID  d,
NETSIM_IPAddress  addr 
)
Here is the caller graph for this function:

◆ ospf_lsa_addToMaxAgeLSAList()

void ospf_lsa_addToMaxAgeLSAList ( ptrOSPF_PDS  ospf,
OSPFID  areaId,
ptrOSPFLSAHDR  lsa 
)

Definition at line 681 of file OSPF_LSA.c.

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

◆ ospf_lsa_assignNewLSAge()

void ospf_lsa_assignNewLSAge ( ptrOSPF_PDS  ospf,
UINT16 routerLSAAge,
UINT16  newLSAAge 
)

Definition at line 379 of file OSPF_LSA.c.

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

◆ ospf_lsa_assignNewLSAIntoLSOrigin()

void ospf_lsa_assignNewLSAIntoLSOrigin ( ptrOSPF_PDS  pds,
ptrOSPFLSAHDR  LSA,
ptrOSPFLSAHDR  newLSA 
)

Definition at line 639 of file OSPF_LSA.c.

Here is the caller graph for this function:

◆ ospf_lsa_checkForDoNotAge()

bool ospf_lsa_checkForDoNotAge ( ptrOSPF_PDS  ospf,
UINT16  routerLSAAge 
)

Definition at line 354 of file OSPF_LSA.c.

Here is the caller graph for this function:

◆ ospf_lsa_compare()

int ospf_lsa_compare ( ptrOSPF_PDS  ospf,
ptrOSPFLSAHDR  oldLS,
ptrOSPFLSAHDR  newLS 
)

RFC 2328: Section 13.1

Definition at line 403 of file OSPF_LSA.c.

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

◆ ospf_lsa_compareToListMem()

bool ospf_lsa_compareToListMem ( ptrOSPF_PDS  ospf,
ptrOSPFLSAHDR  oldLS,
ptrOSPFLSAHDR  newLS 
)

Definition at line 437 of file OSPF_LSA.c.

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

◆ ospf_lsa_find_old_lsa()

ptrOSPFLSAHDR ospf_lsa_find_old_lsa ( ptrOSPFLIST  list,
OSPFID  rid,
OSPFID  lid 
)

Definition at line 258 of file OSPF_LSA.c.

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

◆ ospf_lsa_flood()

bool ospf_lsa_flood ( ptrOSPF_PDS  pds,
OSPFID  area,
ptrOSPFLSAHDR  lsa,
NETSIM_IPAddress  srcAddr,
NETSIM_ID  in 
)

Definition at line 474 of file OSPF_LSA.c.

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

◆ ospf_lsa_flush()

void ospf_lsa_flush ( ptrOSPF_PDS  ospf,
ptrOSPFAREA_DS  area,
ptrOSPFLSAHDR  lsa 
)

Definition at line 745 of file OSPF_LSA.c.

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

◆ ospf_lsa_handle_floodTimer_event()

void ospf_lsa_handle_floodTimer_event ( )

Definition at line 716 of file OSPF_LSA.c.

Here is the call graph for this function:

◆ ospf_lsa_hasLink()

bool ospf_lsa_hasLink ( ptrOSPF_PDS  ospf,
ptrOSPFLSAHDR  wlsa,
ptrOSPFLSAHDR  vlsa 
)

Definition at line 811 of file OSPF_LSA.c.

Here is the call graph for this function:

◆ ospf_lsa_hasMaxAge()

bool ospf_lsa_hasMaxAge ( ptrOSPF_PDS  ospf,
ptrOSPFLSAHDR  lsa 
)

Definition at line 654 of file OSPF_LSA.c.

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

◆ ospf_lsa_is_content_changed()

bool ospf_lsa_is_content_changed ( ptrOSPF_PDS  ospf,
ptrOSPFLSAHDR  newLSA,
ptrOSPFLSAHDR  oldLSA 
)

Definition at line 617 of file OSPF_LSA.c.

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

◆ ospf_lsa_isMoreRecent()

int ospf_lsa_isMoreRecent ( ptrOSPF_PDS  ospf,
ptrOSPFLSAHDR  newLSA,
ptrOSPFLSAHDR  oldLSA 
)

Definition at line 725 of file OSPF_LSA.c.

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

◆ ospf_lsa_isSelfOriginated()

bool ospf_lsa_isSelfOriginated ( ptrOSPF_PDS  ospf,
ptrOSPFLSAHDR  lsa 
)

Definition at line 734 of file OSPF_LSA.c.

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

◆ ospf_lsa_maskDoNotAge()

UINT16 ospf_lsa_maskDoNotAge ( ptrOSPF_PDS  ospf,
UINT16  routerLSAAge 
)

Definition at line 370 of file OSPF_LSA.c.

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

◆ ospf_lsa_print()

void ospf_lsa_print ( char *  logid,
ptrOSPFLSAHDR  LSHeader,
char *  msg 
)

Definition at line 38 of file OSPF_LSA.c.

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

◆ ospf_lsa_printList()

void ospf_lsa_printList ( char *  logid,
ptrOSPFLIST  list,
char *  name 
)

Definition at line 61 of file OSPF_LSA.c.

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

◆ ospf_lsa_printRLSA()

void ospf_lsa_printRLSA ( char *  logid,
ptrOSPFRLSA  rlsa 
)

Definition at line 24 of file OSPF_RLSA.c.

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

◆ ospf_lsa_queueToFlood()

void ospf_lsa_queueToFlood ( ptrOSPF_PDS  pds,
ptrOSPF_IF  ospf,
ptrOSPFLSAHDR  lsa 
)

Definition at line 449 of file OSPF_LSA.c.

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

◆ ospf_lsa_schedule()

void ospf_lsa_schedule ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrOSPFAREA_DS  area,
ptrOSPFLSAHDR  lsa 
)

Definition at line 759 of file OSPF_LSA.c.

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

◆ ospf_lsa_schedule_routerLSA()

void ospf_lsa_schedule_routerLSA ( ptrOSPF_PDS  ospf,
ptrOSPFAREA_DS  area,
bool  isFlush 
)

Definition at line 81 of file OSPF_LSA.c.

Here is the caller graph for this function:

◆ ospf_lsa_ScheduleLSDB()

void ospf_lsa_ScheduleLSDB ( )

Definition at line 699 of file OSPF_LSA.c.

Here is the call graph for this function:

◆ ospf_lsa_scheduleNWLSA()

void ospf_lsa_scheduleNWLSA ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrOSPFAREA_DS  area,
bool  isFlush 
)

Definition at line 114 of file OSPF_LSA.c.

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

◆ ospf_lsa_scheduleSummaryLSA()

void ospf_lsa_scheduleSummaryLSA ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrOSPFAREA_DS  area,
NETSIM_IPAddress  destAddr,
NETSIM_IPAddress  destMask,
OSPFDESTTYPE  destType,
bool  isFlush 
)

Definition at line 167 of file OSPF_LSA.c.

Here is the caller graph for this function:

◆ ospf_lsa_update_lsahdr()

bool ospf_lsa_update_lsahdr ( ptrOSPF_PDS  ospf,
ptrOSPFAREA_DS  area,
ptrOSPFLSAHDR  lsa,
ptrOSPFLSAHDR  old,
LSTYPE  lstype 
)

Definition at line 277 of file OSPF_LSA.c.

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

◆ ospf_lsaAck_sendDelayedAck()

void ospf_lsaAck_sendDelayedAck ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrOSPFLSAHDR  lsa 
)

Definition at line 105 of file OSPF_LSAACK.c.

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

◆ ospf_lsaAck_sendDirectAck()

void ospf_lsaAck_sendDirectAck ( ptrOSPF_PDS  ospf,
NETSIM_ID  interfaceId,
ptrARRAYLIST  ackList,
NETSIM_IPAddress  nbrAddr 
)

Definition at line 125 of file OSPF_LSAACK.c.

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

◆ ospf_lsack_handleDelayedAckTimer()

void ospf_lsack_handleDelayedAckTimer ( )

Definition at line 158 of file OSPF_LSAACK.c.

Here is the call graph for this function:

◆ ospf_lsahdr_add_lsa()

void ospf_lsahdr_add_lsa ( ptrOSPFLSAHDR  lhdr,
void *  lsa,
UINT16  len 
)

Definition at line 308 of file OSPF_LSA.c.

Here is the caller graph for this function:

◆ ospf_LSDB_handle_IncrementAge_event()

void ospf_LSDB_handle_IncrementAge_event ( )

Definition at line 688 of file OSPF_LSDB.c.

Here is the call graph for this function:

◆ ospf_lsdb_handleMaxAgeRemovalTimer()

void ospf_lsdb_handleMaxAgeRemovalTimer ( )

Definition at line 454 of file OSPF_LSDB.c.

Here is the call graph for this function:

◆ ospf_lsdb_install()

bool ospf_lsdb_install ( ptrOSPF_PDS  ospf,
OSPFID  areaId,
ptrOSPFLSAHDR  lsa,
ptrOSPFLIST  list 
)

Definition at line 96 of file OSPF_LSDB.c.

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

◆ ospf_lsdb_lookup()

ptrOSPFLSAHDR ospf_lsdb_lookup ( ptrOSPF_PDS  ospf,
ptrOSPFAREA_DS  area,
LSTYPE  lsType,
OSPFID  adveRouter,
OSPFID  linkStateID 
)

Definition at line 59 of file OSPF_LSDB.c.

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

◆ ospf_lsdb_lookup_lsaList()

ptrOSPFLSAHDR ospf_lsdb_lookup_lsaList ( ptrOSPFLIST  list,
OSPFID  adverRouter,
OSPFID  linkStateId 
)

Definition at line 23 of file OSPF_LSDB.c.

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

◆ ospf_lsdb_lookup_lsaListByID()

ptrOSPFLSAHDR ospf_lsdb_lookup_lsaListByID ( ptrOSPFLIST  list,
OSPFID  linkStateId 
)

Definition at line 42 of file OSPF_LSDB.c.

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

◆ ospf_lsdb_removeLSA()

void ospf_lsdb_removeLSA ( ptrOSPF_PDS  ospf,
ptrOSPFAREA_DS  area,
ptrOSPFLSAHDR  lsa 
)

Definition at line 420 of file OSPF_LSDB.c.

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

◆ ospf_lsdb_scheduleMaxAgeRemovalTimer()

void ospf_lsdb_scheduleMaxAgeRemovalTimer ( ptrOSPF_PDS  ospf)

Definition at line 322 of file OSPF_LSDB.c.

Here is the caller graph for this function:

◆ ospf_lsdb_update()

bool ospf_lsdb_update ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrOSPFLSAHDR  lsa,
ptrOSPFAREA_DS  thisArea,
NETSIM_IPAddress  srcAddr 
)

Definition at line 209 of file OSPF_LSDB.c.

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

◆ ospf_lsreq_initList()

ptrOSPFLIST ospf_lsreq_initList ( )

Definition at line 69 of file OSPF_LSREQ.c.

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

◆ ospf_lsreq_insertToList()

void ospf_lsreq_insertToList ( ptrOSPF_NEIGHBOR  neigh,
ptrOSPFLSAHDR  lsHdr,
double  time 
)

Definition at line 74 of file OSPF_LSREQ.c.

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

◆ ospf_lsreq_isRequestedLSAReceived()

bool ospf_lsreq_isRequestedLSAReceived ( ptrOSPF_NEIGHBOR  neigh)

Definition at line 133 of file OSPF_LSREQ.c.

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

◆ ospf_lsreq_removeFromReqList()

void ospf_lsreq_removeFromReqList ( ptrOSPFLIST  list,
ptrOSPFLSAHDR  lsa 
)

Definition at line 90 of file OSPF_LSREQ.c.

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

◆ ospf_lsreq_retransmit()

void ospf_lsreq_retransmit ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrOSPF_NEIGHBOR  neigh,
UINT  seqNum 
)

Definition at line 374 of file OSPF_LSREQ.c.

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

◆ ospf_lsReq_searchFromList()

ptrOSPFLSAHDR ospf_lsReq_searchFromList ( ptrOSPF_NEIGHBOR  neigh,
ptrOSPFLSAHDR  lsa 
)

Definition at line 110 of file OSPF_LSREQ.c.

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

◆ ospf_lsreq_send()

void ospf_lsreq_send ( ptrOSPF_PDS  ospf,
NETSIM_ID  interfaceId,
NETSIM_IPAddress  nbrAddr,
bool  retx 
)

Definition at line 189 of file OSPF_LSREQ.c.

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

◆ ospf_lsu_sendLSUpdateToNeighbor()

void ospf_lsu_sendLSUpdateToNeighbor ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface 
)

Definition at line 417 of file OSPF_LSUPDATE.c.

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

◆ ospf_lsupdate_handleRxmtTimer()

void ospf_lsupdate_handleRxmtTimer ( )

Definition at line 637 of file OSPF_LSUPDATE.c.

Here is the call graph for this function:

◆ ospf_lsupdate_send()

void ospf_lsupdate_send ( )

Definition at line 96 of file OSPF_LSUPDATE.c.

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

◆ ospf_neighbor_add()

void ospf_neighbor_add ( ptrOSPF_IF  ospf,
ptrOSPF_NEIGHBOR  neigh 
)

Definition at line 137 of file OSPF_Neighbor.c.

Here is the caller graph for this function:

◆ OSPF_NEIGHBOR_FIND()

ptrOSPF_NEIGHBOR OSPF_NEIGHBOR_FIND ( ptrOSPF_IF  ospf,
OSPFID  id 
)

Definition at line 93 of file OSPF_Neighbor.c.

Here is the caller graph for this function:

◆ OSPF_NEIGHBOR_FIND_BY_IP()

ptrOSPF_NEIGHBOR OSPF_NEIGHBOR_FIND_BY_IP ( ptrOSPF_IF  thisInterface,
NETSIM_IPAddress  ip 
)

Definition at line 106 of file OSPF_Neighbor.c.

Here is the caller graph for this function:

◆ ospf_neighbor_getInterfaceIdforThisNeighbor()

NETSIM_ID ospf_neighbor_getInterfaceIdforThisNeighbor ( ptrOSPF_PDS  ospf,
NETSIM_IPAddress  neighIPaddr 
)

Definition at line 567 of file OSPF_Neighbor.c.

Here is the caller graph for this function:

◆ ospf_neighbor_handle_1way_event()

void ospf_neighbor_handle_1way_event ( )

Definition at line 182 of file OSPF_Neighbor.c.

Here is the call graph for this function:

◆ ospf_neighbor_handle_2wayReceived_event()

void ospf_neighbor_handle_2wayReceived_event ( )

Definition at line 240 of file OSPF_Neighbor.c.

Here is the call graph for this function:

◆ ospf_neighbor_handle_exchangeDone_event()

void ospf_neighbor_handle_exchangeDone_event ( )

Definition at line 381 of file OSPF_Neighbor.c.

Here is the call graph for this function:

◆ ospf_neighbor_handle_helloReceived_event()

void ospf_neighbor_handle_helloReceived_event ( )

Definition at line 257 of file OSPF_Neighbor.c.

Here is the call graph for this function:

◆ ospf_neighbor_handle_inactivityTimer_event()

void ospf_neighbor_handle_inactivityTimer_event ( )

Definition at line 439 of file OSPF_Neighbor.c.

Here is the call graph for this function:

◆ ospf_neighbor_handle_KillNbrEvent()

void ospf_neighbor_handle_KillNbrEvent ( )

Definition at line 601 of file OSPF_Neighbor.c.

Here is the call graph for this function:

◆ ospf_neighbor_handle_LoadingDoneEvent()

void ospf_neighbor_handle_LoadingDoneEvent ( )

Definition at line 586 of file OSPF_Neighbor.c.

Here is the call graph for this function:

◆ ospf_neighbor_handle_negotiationDone_event()

void ospf_neighbor_handle_negotiationDone_event ( )

Definition at line 358 of file OSPF_Neighbor.c.

Here is the call graph for this function:

◆ ospf_neighbor_handle_start_event()

void ospf_neighbor_handle_start_event ( )

Definition at line 415 of file OSPF_Neighbor.c.

◆ ospf_neighbor_insertToSendList()

void ospf_neighbor_insertToSendList ( ptrOSPFLIST  list,
ptrOSPFLSAHDR  lsa,
double  time 
)

Definition at line 558 of file OSPF_Neighbor.c.

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

◆ ospf_neighbor_isAnyNeighborInExchangeOrLoadingState()

bool ospf_neighbor_isAnyNeighborInExchangeOrLoadingState ( ptrOSPF_PDS  ospf)

Definition at line 521 of file OSPF_Neighbor.c.

Here is the caller graph for this function:

◆ ospf_neighbor_new()

ptrOSPF_NEIGHBOR ospf_neighbor_new ( NETSIM_IPAddress  ip,
OSPFID  rid 
)

Definition at line 118 of file OSPF_Neighbor.c.

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

◆ ospf_neighbor_searchSendList()

ptrOSPFLSAHDR ospf_neighbor_searchSendList ( ptrOSPFLIST  list,
ptrOSPFLSAHDR  lsa 
)

Definition at line 539 of file OSPF_Neighbor.c.

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

◆ ospf_process_hello()

void ospf_process_hello ( )

Definition at line 258 of file OSPF_Hello.c.

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

◆ Ospf_rlsa_getABRouter()

bool Ospf_rlsa_getABRouter ( UINT8  VEB)

Definition at line 416 of file OSPF_RLSA.c.

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

◆ Ospf_rlsa_getASBRouter()

bool Ospf_rlsa_getASBRouter ( UINT8  VEB)

Definition at line 403 of file OSPF_RLSA.c.

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

◆ ospf_rlsa_hasLink()

bool ospf_rlsa_hasLink ( ptrOSPF_PDS  ospf,
ptrOSPFLSAHDR  wlsa,
ptrOSPFLSAHDR  vlsa 
)

Definition at line 375 of file OSPF_RLSA.c.

Here is the caller graph for this function:

◆ ospf_rlsa_isBodyChanged()

bool ospf_rlsa_isBodyChanged ( ptrOSPFLSAHDR  newLSA,
ptrOSPFLSAHDR  oldLSA 
)

Definition at line 323 of file OSPF_RLSA.c.

Here is the caller graph for this function:

◆ ospf_rlsa_originateRouterLSA()

void ospf_rlsa_originateRouterLSA ( ptrOSPFAREA_DS  area,
bool  isFlush 
)

Definition at line 429 of file OSPF_RLSA.c.

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

◆ ospf_spf_handleCalculateSPFEvent()

void ospf_spf_handleCalculateSPFEvent ( )

Definition at line 851 of file OSPF_SPF.c.

Here is the call graph for this function:

◆ ospf_spf_scheduleCalculation()

void ospf_spf_scheduleCalculation ( ptrOSPF_PDS  ospf)

Definition at line 80 of file OSPF_SPF.c.

Here is the caller graph for this function:

◆ print_ospf_Dlog()

void print_ospf_Dlog ( char *  id,
char *  format,
  ... 
)
Here is the caller graph for this function:

◆ print_ospf_log()

void print_ospf_log ( OSPFLOGFLAG  logFlag,
char *  format,
  ... 
)
Here is the caller graph for this function:

◆ start_interval_hello_timer()

void start_interval_hello_timer ( )

Definition at line 50 of file OSPF_Hello.c.

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

◆ start_sending_dd_msg()

void start_sending_dd_msg ( )

Definition at line 207 of file OSPF_DD.c.

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

Variable Documentation

◆ AllDRouters

NETSIM_IPAddress AllDRouters

Definition at line 49 of file OSPF.h.

◆ AllSPFRouters

NETSIM_IPAddress AllSPFRouters

Definition at line 48 of file OSPF.h.

◆ backboneAreaId

OSPFID backboneAreaId

Definition at line 52 of file OSPF.h.

◆ invalidAreaId

OSPFID invalidAreaId

Definition at line 51 of file OSPF.h.

◆ isOSPFHelloDebug

bool isOSPFHelloDebug = false
static

Definition at line 27 of file OSPF.h.

◆ isOSPFSPFDebug

bool isOSPFSPFDebug = false
static

Definition at line 28 of file OSPF.h.

◆ NullID

OSPFID NullID

Definition at line 50 of file OSPF.h.

◆ singleAreaId

OSPFID singleAreaId

Definition at line 53 of file OSPF.h.