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

Go to the source code of this file.

Functions

static void set_option_in_hello (NetSim_PACKET *packet, UINT16 type, UINT16 len, void *opt)
 
static void * get_option_from_hello (ptrPIM_HELLO hello, UINT16 type)
 
static void add_dr_priority_option (NETSIM_ID d, NetSim_PACKET *packet)
 
static void add_genid_option (NETSIM_ID d, NetSim_PACKET *packet)
 
static void add_lanprunedelay_option (NETSIM_ID d, NetSim_PACKET *packet)
 
static void add_addresslist_option (NETSIM_ID d, NetSim_PACKET *packet)
 
static ptrPIM_HELLO alloc_pim_hello ()
 
static NetSim_PACKETcreate_pim_hello (NETSIM_ID dev, double time)
 
void send_hello_msg (NETSIM_ID d, double time)
 
bool process_pim_hello_packet ()
 

Function Documentation

◆ add_addresslist_option()

static void add_addresslist_option ( NETSIM_ID  d,
NetSim_PACKET packet 
)
static

Definition at line 91 of file PIM_Hello.c.

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

◆ add_dr_priority_option()

static void add_dr_priority_option ( NETSIM_ID  d,
NetSim_PACKET packet 
)
static

Definition at line 56 of file PIM_Hello.c.

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

◆ add_genid_option()

static void add_genid_option ( NETSIM_ID  d,
NetSim_PACKET packet 
)
static

Definition at line 67 of file PIM_Hello.c.

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

◆ add_lanprunedelay_option()

static void add_lanprunedelay_option ( NETSIM_ID  d,
NetSim_PACKET packet 
)
static

Definition at line 78 of file PIM_Hello.c.

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

◆ alloc_pim_hello()

static ptrPIM_HELLO alloc_pim_hello ( )
static

Definition at line 117 of file PIM_Hello.c.

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

◆ create_pim_hello()

static NetSim_PACKET * create_pim_hello ( NETSIM_ID  dev,
double  time 
)
static

Definition at line 125 of file PIM_Hello.c.

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

◆ get_option_from_hello()

static void * get_option_from_hello ( ptrPIM_HELLO  hello,
UINT16  type 
)
static

Definition at line 45 of file PIM_Hello.c.

Here is the caller graph for this function:

◆ process_pim_hello_packet()

bool process_pim_hello_packet ( )

Definition at line 162 of file PIM_Hello.c.

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

◆ send_hello_msg()

void send_hello_msg ( NETSIM_ID  d,
double  time 
)

Definition at line 142 of file PIM_Hello.c.

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

◆ set_option_in_hello()

static void set_option_in_hello ( NetSim_PACKET packet,
UINT16  type,
UINT16  len,
void *  opt 
)
static

Definition at line 21 of file PIM_Hello.c.

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