Multicast#
Functions#
sl_status_t
sl_net_join_multicast_address(sl_net_interface_t interface, const sl_ip_address_t *ip_address)
Enable multicast for the given IP address.
sl_status_t
sl_net_leave_multicast_address(sl_net_interface_t interface, const sl_ip_address_t *ip_address)
Disable multicast for the given IP address.
Function Documentation#
sl_net_join_multicast_address#
sl_status_t sl_net_join_multicast_address (sl_net_interface_t interface, const sl_ip_address_t * ip_address)
Enable multicast for the given IP address.
Parameters
[in] | interface | Interface identified by sl_net_interface_t |
[in] | ip_address | Multicast IP address of type sl_ip_address_t |
Pre-conditions:
sl_net_up should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
Definition at line
302
of file components/service/network_manager/inc/sl_net.h
sl_net_leave_multicast_address#
sl_status_t sl_net_leave_multicast_address (sl_net_interface_t interface, const sl_ip_address_t * ip_address)
Disable multicast for the given IP address.
Parameters
[in] | interface | Interface identified by sl_net_interface_t |
[in] | ip_address | Multicast IP address of type sl_ip_address_t |
Pre-conditions:
sl_net_up should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
Definition at line
317
of file components/service/network_manager/inc/sl_net.h