NetSim Source Code Help
Loading...
Searching...
No Matches
PIM_SM.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_SM.c:

Go to the source code of this file.

Functions

static void init_pim_sm_log ()
 
static void close_pim_sm_log ()
 
void print_pim_sm_log (char *format,...)
 
void pim_add_timeout_event (NETSIM_ID d, double time, IP_SUBEVENT eve, NETSIM_IPAddress group)
 
void Router_PIM_Init (NETSIM_ID d)
 
static bool isPIMReqd (NETSIM_ID d)
 
void pim_configure (NETSIM_ID d, void *xmlNetSimNode)
 
IP_PROTOCOL_ACTION pim_decide_action (NetSim_PACKET *packet, NETSIM_ID d)
 
void process_pim_packet ()
 
void pim_handle_timer_event ()
 
static bool isReservedGroup (NETSIM_IPAddress addr)
 
void pim_join_group (NETSIM_ID d, NETSIM_IPAddress group)
 

Variables

static FILE * pim_sm_log = NULL
 

Function Documentation

◆ close_pim_sm_log()

static void close_pim_sm_log ( )
static

Definition at line 32 of file PIM_SM.c.

◆ init_pim_sm_log()

static void init_pim_sm_log ( )
static

Definition at line 22 of file PIM_SM.c.

Here is the caller graph for this function:

◆ isPIMReqd()

static bool isPIMReqd ( NETSIM_ID  d)
static

Definition at line 96 of file PIM_SM.c.

Here is the caller graph for this function:

◆ isReservedGroup()

static bool isReservedGroup ( NETSIM_IPAddress  addr)
static

Definition at line 219 of file PIM_SM.c.

Here is the caller graph for this function:

◆ pim_add_timeout_event()

void pim_add_timeout_event ( NETSIM_ID  d,
double  time,
IP_SUBEVENT  eve,
NETSIM_IPAddress  group 
)

Definition at line 50 of file PIM_SM.c.

Here is the caller graph for this function:

◆ pim_configure()

void pim_configure ( NETSIM_ID  d,
void *  xmlNetSimNode 
)

Definition at line 107 of file PIM_SM.c.

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

◆ pim_decide_action()

IP_PROTOCOL_ACTION pim_decide_action ( NetSim_PACKET packet,
NETSIM_ID  d 
)

Definition at line 139 of file PIM_SM.c.

Here is the caller graph for this function:

◆ pim_handle_timer_event()

void pim_handle_timer_event ( )

Definition at line 187 of file PIM_SM.c.

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

◆ pim_join_group()

void pim_join_group ( NETSIM_ID  d,
NETSIM_IPAddress  group 
)

Definition at line 228 of file PIM_SM.c.

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

◆ print_pim_sm_log()

void print_pim_sm_log ( char *  format,
  ... 
)

Definition at line 38 of file PIM_SM.c.

Here is the caller graph for this function:

◆ process_pim_packet()

void process_pim_packet ( )

Definition at line 149 of file PIM_SM.c.

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

◆ Router_PIM_Init()

void Router_PIM_Init ( NETSIM_ID  d)

Definition at line 67 of file PIM_SM.c.

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

Variable Documentation

◆ pim_sm_log

FILE* pim_sm_log = NULL
static

Definition at line 21 of file PIM_SM.c.