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

Go to the source code of this file.

Functions

static ptrPIM_JOINPRUNE_MSG alloc_pim_joinprune ()
 
static NetSim_PACKETcreate_pim_joinprune (NETSIM_ID dev, double time, ptrPIM_GROUP group)
 
static ptrPIM_JOINMSG_GROUP pim_join_add_group_member (NETSIM_ID d, NETSIM_IPAddress groupAddr, ptrPIM_JOINPRUNE_MSG jp, UINT c)
 
static ptrPIM_JOINMSG_GROUP jP_find_groups (ptrPIM_JOINPRUNE_MSG jp, NETSIM_IPAddress m, UINT *in)
 
static void pim_join_add_group (NETSIM_ID d, NetSim_PACKET *packet, ptrPIM_GROUP group, ptrPIM_NEIGHBOR neighbor)
 
static ptrPIM_NEIGHBOR pimjoin_find_neighbor (NETSIM_ID d, NETSIM_IPAddress rp)
 
void pim_send_joinprune (NETSIM_ID d, double time, ptrPIM_GROUP group)
 
static bool validate_RP (NETSIM_ID d, NETSIM_IPAddress rp, NETSIM_IPAddress gaddr)
 
static ptrPIM_JP_STATE get_Pim_jp_state (NETSIM_ID d, NETSIM_ID i, ptrPIM_GROUP gr)
 
static bool amIRP (NETSIM_ID d, ptrPIM_GROUP g)
 
void pim_forward_join ()
 
bool pim_process_join ()
 

Function Documentation

◆ alloc_pim_joinprune()

static ptrPIM_JOINPRUNE_MSG alloc_pim_joinprune ( )
static

Definition at line 21 of file PIM_Join.c.

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

◆ amIRP()

static bool amIRP ( NETSIM_ID  d,
ptrPIM_GROUP  g 
)
static

Definition at line 166 of file PIM_Join.c.

Here is the caller graph for this function:

◆ create_pim_joinprune()

static NetSim_PACKET * create_pim_joinprune ( NETSIM_ID  dev,
double  time,
ptrPIM_GROUP  group 
)
static

Definition at line 29 of file PIM_Join.c.

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

◆ get_Pim_jp_state()

static ptrPIM_JP_STATE get_Pim_jp_state ( NETSIM_ID  d,
NETSIM_ID  i,
ptrPIM_GROUP  gr 
)
static

Definition at line 155 of file PIM_Join.c.

Here is the caller graph for this function:

◆ jP_find_groups()

static ptrPIM_JOINMSG_GROUP jP_find_groups ( ptrPIM_JOINPRUNE_MSG  jp,
NETSIM_IPAddress  m,
UINT in 
)
static

Definition at line 74 of file PIM_Join.c.

Here is the caller graph for this function:

◆ pim_forward_join()

void pim_forward_join ( )

Definition at line 171 of file PIM_Join.c.

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

◆ pim_join_add_group()

static void pim_join_add_group ( NETSIM_ID  d,
NetSim_PACKET packet,
ptrPIM_GROUP  group,
ptrPIM_NEIGHBOR  neighbor 
)
static

Definition at line 88 of file PIM_Join.c.

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

◆ pim_join_add_group_member()

static ptrPIM_JOINMSG_GROUP pim_join_add_group_member ( NETSIM_ID  d,
NETSIM_IPAddress  groupAddr,
ptrPIM_JOINPRUNE_MSG  jp,
UINT  c 
)
static

Definition at line 46 of file PIM_Join.c.

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

◆ pim_process_join()

bool pim_process_join ( )

Definition at line 193 of file PIM_Join.c.

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

◆ pim_send_joinprune()

void pim_send_joinprune ( NETSIM_ID  d,
double  time,
ptrPIM_GROUP  group 
)

Definition at line 128 of file PIM_Join.c.

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

◆ pimjoin_find_neighbor()

static ptrPIM_NEIGHBOR pimjoin_find_neighbor ( NETSIM_ID  d,
NETSIM_IPAddress  rp 
)
static

Definition at line 122 of file PIM_Join.c.

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

◆ validate_RP()

static bool validate_RP ( NETSIM_ID  d,
NETSIM_IPAddress  rp,
NETSIM_IPAddress  gaddr 
)
static

Definition at line 146 of file PIM_Join.c.

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