pub unsafe extern "C" fn otIp6SelectSourceAddress(
    aInstance: *mut otInstance,
    aMessageInfo: *mut otMessageInfo
) -> otError
Expand description

Perform OpenThread source address selection.

@param[in] aInstance A pointer to an OpenThread instance. @param[in,out] aMessageInfo A pointer to the message information.

@retval OT_ERROR_NONE Found a source address and is filled into mSockAddr of @p aMessageInfo. @retval OT_ERROR_NOT_FOUND No source address was found and @p aMessageInfo is unchanged.