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

Go to the source code of this file.

Functions

ptrPIM_NEIGHBOR find_neighbor (NETSIM_ID d, NETSIM_IPAddress ip)
 
static void add_neighbor (NETSIM_ID d, ptrPIM_NEIGHBOR neigh)
 
ptrPIM_NEIGHBOR create_and_add_neighbor (NETSIM_ID d, NETSIM_ID ifId, NETSIM_IPAddress address)
 
static ptrPIM_NEIGHBORget_all_neigh_for_interface (NETSIM_ID d, NETSIM_ID ifid, UINT *c)
 
static bool dr_is_better (ptrPIM_NEIGHBOR a, ptrPIM_NEIGHBOR b)
 
void elect_DR (NETSIM_ID d, NETSIM_ID ifid)
 
static bool lan_delay_enabled (NETSIM_ID d, NETSIM_ID I)
 
time_interval Effective_Propagation_Delay (NETSIM_ID d, NETSIM_ID I)
 
time_interval Effective_Override_Interval (NETSIM_ID d, NETSIM_ID I)
 
bool Suppression_Enabled (NETSIM_ID d, NETSIM_ID I)
 

Function Documentation

◆ add_neighbor()

static void add_neighbor ( NETSIM_ID  d,
ptrPIM_NEIGHBOR  neigh 
)
static

Definition at line 40 of file PIM_Neighbor.c.

Here is the caller graph for this function:

◆ create_and_add_neighbor()

ptrPIM_NEIGHBOR create_and_add_neighbor ( NETSIM_ID  d,
NETSIM_ID  ifId,
NETSIM_IPAddress  address 
)

Definition at line 46 of file PIM_Neighbor.c.

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

◆ dr_is_better()

static bool dr_is_better ( ptrPIM_NEIGHBOR  a,
ptrPIM_NEIGHBOR  b 
)
static

Definition at line 81 of file PIM_Neighbor.c.

Here is the caller graph for this function:

◆ Effective_Override_Interval()

time_interval Effective_Override_Interval ( NETSIM_ID  d,
NETSIM_ID  I 
)

Definition at line 152 of file PIM_Neighbor.c.

Here is the call graph for this function:

◆ Effective_Propagation_Delay()

time_interval Effective_Propagation_Delay ( NETSIM_ID  d,
NETSIM_ID  I 
)

Definition at line 133 of file PIM_Neighbor.c.

Here is the call graph for this function:

◆ elect_DR()

void elect_DR ( NETSIM_ID  d,
NETSIM_ID  ifid 
)

Definition at line 95 of file PIM_Neighbor.c.

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

◆ find_neighbor()

ptrPIM_NEIGHBOR find_neighbor ( NETSIM_ID  d,
NETSIM_IPAddress  ip 
)

Definition at line 20 of file PIM_Neighbor.c.

Here is the caller graph for this function:

◆ get_all_neigh_for_interface()

static ptrPIM_NEIGHBOR * get_all_neigh_for_interface ( NETSIM_ID  d,
NETSIM_ID  ifid,
UINT c 
)
static

Definition at line 57 of file PIM_Neighbor.c.

Here is the caller graph for this function:

◆ lan_delay_enabled()

static bool lan_delay_enabled ( NETSIM_ID  d,
NETSIM_ID  I 
)
static

Definition at line 115 of file PIM_Neighbor.c.

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

◆ Suppression_Enabled()

bool Suppression_Enabled ( NETSIM_ID  d,
NETSIM_ID  I 
)

Definition at line 171 of file PIM_Neighbor.c.

Here is the call graph for this function: