Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
IGMP API

IGMP (Internet Group Management Protocol) More...

Functions

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

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 
)
inlinestatic

#include <include/net/igmp.h>

Join a given multicast group.

Parameters
ifaceNetwork interface where join message is sent
addrMulticast group to join
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 <include/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.