openthread_sys

Function otPlatUdpLeaveMulticastGroup

Source
pub unsafe extern "C" fn otPlatUdpLeaveMulticastGroup(
    aUdpSocket: *mut otUdpSocket,
    aNetifIdentifier: otNetifIdentifier,
    aAddress: *const otIp6Address,
) -> otError
Expand description

Configures the UDP socket to leave a UDP multicast group.

Note: only available when OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE is used.

@param[in] aUdpSocket A pointer to the UDP socket. @param[in] aNetifIdentifier The network interface identifier. @param[in] aAddress The UDP multicast group address.

@retval OT_ERROR_NONE Successfully left the multicast group. @retval OT_ERROR_FAILED Failed to leave the multicast group.