[][src]Function openthread_sys::otUdpRemoveReceiver

pub unsafe extern "C" fn otUdpRemoveReceiver(
    aInstance: *mut otInstance,
    aUdpReceiver: *mut otUdpReceiver
) -> otError

This function removes a UDP receiver.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aUdpReceiver A pointer to the UDP receiver.

@retval OT_ERROR_NONE The receiver is successfully removed. @retval OT_ERROR_NOT_FOUND The UDP receiver was not added.