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

Go to the source code of this file.

Functions

static ptrIGMP_HOST_DB find_or_alloc_multicast_db_host (NETSIM_ID d, NETSIM_IPAddress group)
 
static void host_join_multicast_group (NETSIM_ID d, NETSIM_IPAddress group)
 
ptrIGMP_HOST_DB host_get_multicast_db (NETSIM_ID d, NETSIM_IPAddress addr)
 
void igmp_host_init (NETSIM_ID d)
 
IP_PROTOCOL_ACTION host_is_ip_present_in_db (NETSIM_ID d, NETSIM_IPAddress ip, NetSim_PACKET *packet)
 
bool host_process_query (NetSim_PACKET *packet, ptrIGMP_MSG msg, NETSIM_ID d)
 
void host_send_report ()
 
bool host_process_report (NetSim_PACKET *packet, ptrIGMP_MSG msg, NETSIM_ID d)
 
void igmp_host_join_group (NETSIM_ID d, NETSIM_IPAddress group)
 
void host_handle_unsolicited_report_timer ()
 
void host_free (NETSIM_ID d)
 

Function Documentation

◆ find_or_alloc_multicast_db_host()

static ptrIGMP_HOST_DB find_or_alloc_multicast_db_host ( NETSIM_ID  d,
NETSIM_IPAddress  group 
)
static

Definition at line 20 of file IGMP_Host.c.

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

◆ host_free()

void host_free ( NETSIM_ID  d)

Definition at line 205 of file IGMP_Host.c.

Here is the caller graph for this function:

◆ host_get_multicast_db()

ptrIGMP_HOST_DB host_get_multicast_db ( NETSIM_ID  d,
NETSIM_IPAddress  addr 
)

Definition at line 45 of file IGMP_Host.c.

Here is the caller graph for this function:

◆ host_handle_unsolicited_report_timer()

void host_handle_unsolicited_report_timer ( )

Definition at line 183 of file IGMP_Host.c.

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

◆ host_is_ip_present_in_db()

IP_PROTOCOL_ACTION host_is_ip_present_in_db ( NETSIM_ID  d,
NETSIM_IPAddress  ip,
NetSim_PACKET packet 
)

Definition at line 69 of file IGMP_Host.c.

Here is the caller graph for this function:

◆ host_join_multicast_group()

static void host_join_multicast_group ( NETSIM_ID  d,
NETSIM_IPAddress  group 
)
static

Definition at line 40 of file IGMP_Host.c.

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

◆ host_process_query()

bool host_process_query ( NetSim_PACKET packet,
ptrIGMP_MSG  msg,
NETSIM_ID  d 
)

Definition at line 82 of file IGMP_Host.c.

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

◆ host_process_report()

bool host_process_report ( NetSim_PACKET packet,
ptrIGMP_MSG  msg,
NETSIM_ID  d 
)

Definition at line 140 of file IGMP_Host.c.

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

◆ host_send_report()

void host_send_report ( )

Definition at line 119 of file IGMP_Host.c.

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

◆ igmp_host_init()

void igmp_host_init ( NETSIM_ID  d)

Definition at line 58 of file IGMP_Host.c.

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

◆ igmp_host_join_group()

void igmp_host_join_group ( NETSIM_ID  d,
NETSIM_IPAddress  group 
)

Definition at line 159 of file IGMP_Host.c.

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