mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 16:40:44 +09:00
net: Improve documentation for string_to_ip()
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
fb8977c5be
commit
d724321f99
@ -845,9 +845,10 @@ void ip_to_string(struct in_addr x, char *s);
|
|||||||
/**
|
/**
|
||||||
* string_to_ip() - Convert a string to ip address
|
* string_to_ip() - Convert a string to ip address
|
||||||
*
|
*
|
||||||
* @s: String to conver, in the format format a.b.c.d, where each value is a
|
* Implemented in lib/net_utils.c (built unconditionally)
|
||||||
* decimal number from 0 to 255
|
*
|
||||||
* @return IP address, or 0 if invalid
|
* @s: Input string to parse
|
||||||
|
* @return: in_addr struct containing the parsed IP address
|
||||||
*/
|
*/
|
||||||
struct in_addr string_to_ip(const char *s);
|
struct in_addr string_to_ip(const char *s);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user