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

Go to the source code of this file.

Macros

#define isBroadcastInterface(d, i)   (DEVICE_INTERFACE(d,i)->nInterfaceType != INTERFACE_WAN_ROUTER)
 

Functions

static bool isInPresentInRoute (NETSIM_ID d, NETSIM_ID in, ptrIP_FORWARD_ROUTE route)
 
static bool isIamSrc (NetSim_PACKET *packet, NETSIM_ID d)
 
static bool isIamDR (NETSIM_ID d, NETSIM_ID in)
 
int pim_route_msg ()
 

Macro Definition Documentation

◆ isBroadcastInterface

#define isBroadcastInterface (   d,
 
)    (DEVICE_INTERFACE(d,i)->nInterfaceType != INTERFACE_WAN_ROUTER)

Definition at line 43 of file PIM_Route_Msg.c.

Function Documentation

◆ isIamDR()

static bool isIamDR ( NETSIM_ID  d,
NETSIM_ID  in 
)
static

Definition at line 44 of file PIM_Route_Msg.c.

Here is the caller graph for this function:

◆ isIamSrc()

static bool isIamSrc ( NetSim_PACKET packet,
NETSIM_ID  d 
)
static

Definition at line 32 of file PIM_Route_Msg.c.

Here is the caller graph for this function:

◆ isInPresentInRoute()

static bool isInPresentInRoute ( NETSIM_ID  d,
NETSIM_ID  in,
ptrIP_FORWARD_ROUTE  route 
)
static

Definition at line 21 of file PIM_Route_Msg.c.

Here is the caller graph for this function:

◆ pim_route_msg()

int pim_route_msg ( )

Definition at line 59 of file PIM_Route_Msg.c.

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