MLD (Multicast Listener Discovery).
More...
MLD (Multicast Listener Discovery).
- Since
- 1.8
- Version
- 0.8.0
◆ net_ipv6_mld_join()
#include <zephyr/net/mld.h>
Join a given multicast group.
- Parameters
-
| iface | Network interface where join message is sent |
| addr | Multicast group to join |
- Return values
-
| 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. |
◆ net_ipv6_mld_leave()
#include <zephyr/net/mld.h>
Leave a given multicast group.
- Parameters
-
| iface | Network interface where leave message is sent |
| addr | Multicast group to leave |
- Returns
- 0 if leaving is done, <0 otherwise.