|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
MLD (Multicast Listener Discovery). More...
Functions | |
| static int | net_ipv6_mld_join (struct net_if *iface, const struct net_in6_addr *addr) |
| Join a given multicast group. | |
| static int | net_ipv6_mld_leave (struct net_if *iface, const struct net_in6_addr *addr) |
| Leave a given multicast group. | |
MLD (Multicast Listener Discovery).
|
inlinestatic |
#include <zephyr/net/mld.h>
Join a given multicast group.
| iface | Network interface where join message is sent |
| addr | Multicast group to join |
| 0 | If multicast address was registered and joined successfully. |
| -ENETDOWN | If multicast address was registered but not joined yet due to network interface being down. The address will be joined when interface is up again. This is non-fatal return code, the caller should still release the address with net_ipv6_mld_leave() if no longer needed. |
| Other | Any other error should be considered fatal, multicast address was not registered for the interface. |
|
inlinestatic |
#include <zephyr/net/mld.h>
Leave a given multicast group.
| iface | Network interface where leave message is sent |
| addr | Multicast group to leave |