NetSim Source Code Help
Loading...
Searching...
No Matches
OSPF_DR.c File Reference
#include "main.h"
#include "NetSim_utility.h"
#include "OSPF.h"
#include "OSPF_enum.h"
#include "OSPF_Msg.h"
#include "OSPF_Neighbor.h"
#include "OSPF_Interface.h"
#include "OSPF_List.h"
Include dependency graph for OSPF_DR.c:

Go to the source code of this file.

Data Structures

struct  drEligibleRouter
 

Typedefs

typedef struct drEligibleRouterptrdrEligibleRouter
 

Functions

static void drEligibleRouter_free (ptrdrEligibleRouter d)
 
static void ospf_DR_listEligibleRouter (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPFLIST eligibleRouterList)
 
static void ospf_DR_electBDR (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrdrEligibleRouter eligibleRouter)
 
static OSPFIFSTATE ospf_DR_electDR (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrdrEligibleRouter eligibleRouter)
 
OSPFIFSTATE ospf_DR_election (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface)
 

Typedef Documentation

◆ ptrdrEligibleRouter

Function Documentation

◆ drEligibleRouter_free()

static void drEligibleRouter_free ( ptrdrEligibleRouter  d)
static

Definition at line 33 of file OSPF_DR.c.

Here is the caller graph for this function:

◆ ospf_DR_electBDR()

static void ospf_DR_electBDR ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrdrEligibleRouter  eligibleRouter 
)
static

Definition at line 74 of file OSPF_DR.c.

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

◆ ospf_DR_electDR()

static OSPFIFSTATE ospf_DR_electDR ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrdrEligibleRouter  eligibleRouter 
)
static

Definition at line 136 of file OSPF_DR.c.

Here is the call graph for this function:
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_DR_listEligibleRouter()

static void ospf_DR_listEligibleRouter ( ptrOSPF_PDS  ospf,
ptrOSPF_IF  thisInterface,
ptrOSPFLIST  eligibleRouterList 
)
static

Definition at line 38 of file OSPF_DR.c.

Here is the caller graph for this function: