commit | 532cbacc27f6216098e67cf0a865e74dba816f4c | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Sun Aug 20 21:55:23 2017 +0300 |
committer | Anas Nashif <nashif@linux.intel.com> | Thu Aug 31 14:33:59 2017 -0400 |
tree | aa0d515b302e7ccef427affd1aba495496594f76 | |
parent | 38b148023e428271248e57b3252404e6e02f015c [diff] |
net: Add function to parse IP address string The net_ipaddr_parse() will take a string with optional port number and convert its information into struct sockaddr. The format of the IP string can be: 192.0.2.1:80 192.0.2.42 [2001:db8::1]:8080 [2001:db8::2] 2001:db::42 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>