int eth32cfg_string_to_ip(const char *ipstring, eth32cfg_ip_t *ipbinary);
This function converts a string representation of an IP address into the eth32cfg_ip_t binary representation of an IP address. If the string doesn't contain a valid IP address, an ETH_INVALID_IP error will be returned.
ipstring - The IP address to be converted.
ipbinary - Pointer to an eth32cfg_ip_t structure which will be filled in with the converted IP address.
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.