[][src]Function openthread_sys::otUdpSendDatagram

pub unsafe extern "C" fn otUdpSendDatagram(
    aInstance: *mut otInstance,
    aMessage: *mut otMessage,
    aMessageInfo: *mut otMessageInfo
) -> otError

This function sends a UDP message without socket.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aMessage A pointer to a message without UDP header. @param[in] aMessageInfo A pointer to a message info associated with @p aMessage.

@retval OT_ERROR_NONE Successfully enqueued the message into an output interface. @retval OT_ERROR_NO_BUFS Insufficient available buffer to add the IPv6 headers.