Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

IGMP (Internet Group Management Protocol) More...

Data Structures

struct  igmp_param
 IGMP parameters. More...
 

Functions

static int net_ipv4_igmp_join (struct net_if *iface, const struct in_addr *addr, const struct igmp_param *param)
 Join a given multicast group.
 
static int net_ipv4_igmp_leave (struct net_if *iface, const struct in_addr *addr)
 Leave a given multicast group.
 

Detailed Description

IGMP (Internet Group Management Protocol)

Function Documentation

◆ net_ipv4_igmp_join()

static int net_ipv4_igmp_join ( struct net_if iface,
const struct in_addr addr,
const struct igmp_param param 
)
inlinestatic

#include <zephyr/net/igmp.h>

Join a given multicast group.

Parameters
ifaceNetwork interface where join message is sent
addrMulticast group to join
paramOptional parameters
Returns
Return 0 if joining was done, <0 otherwise.

◆ net_ipv4_igmp_leave()

static int net_ipv4_igmp_leave ( struct net_if iface,
const struct in_addr addr 
)
inlinestatic

#include <zephyr/net/igmp.h>

Leave a given multicast group.

Parameters
ifaceNetwork interface where leave message is sent
addrMulticast group to leave
Returns
Return 0 if leaving is done, <0 otherwise.