openthread_sys

Function otIp4AddressFromString

Source
pub unsafe extern "C" fn otIp4AddressFromString(
    aString: *const c_char,
    aAddress: *mut otIp4Address,
) -> otError
Expand description

Converts a human-readable IPv4 address string into a binary representation.

@param[in] aString A pointer to a NULL-terminated string. @param[out] aAddress A pointer to an IPv4 address.

@retval OT_ERROR_NONE Successfully parsed the string. @retval OT_ERROR_INVALID_ARGS Failed to parse the string.