nuttx/libs/libc/net
zhanghongyu d59a9ea189 inet_addr: return INADDR_NONE(-1) when input string is invalid
now:
inet_network("300.10.10.10"); return 0
inet_addr("300.10.10.10"); return 0

glibc and muscle both return INADDR_NONE or -1.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-06-13 13:31:37 +08:00
..
Kconfig
lib_accept.c net: Move accept to libc after https://github.com/apache/nuttx/pull/8083 2023-01-13 11:23:42 +02:00
lib_addrconfig.c
lib_addroute.c
lib_base64.c
lib_delroute.c
lib_etheraton.c semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
lib_etherntoa.c Net thread-safe ntoa functions 2022-08-02 21:04:19 +08:00
lib_freeifaddrs.c
lib_freenameindex.c
lib_getifaddrs.c Replace all strncpy with strlcpy for safety 2022-08-25 13:38:36 +08:00
lib_htonl.c
lib_htons.c
lib_indextoname.c Replace all strncpy with strlcpy for safety 2022-08-25 13:38:36 +08:00
lib_inetaddr.c inet_addr: return INADDR_NONE(-1) when input string is invalid 2023-06-13 13:31:37 +08:00
lib_inetaton.c
lib_inetnetwork.c libc/net: add inet_network function 2023-01-06 22:20:19 +08:00
lib_inetntoa.c Net thread-safe ntoa functions 2022-08-02 21:04:19 +08:00
lib_inetntop.c
lib_inetpton.c libs: fix visual studio Compiler Error C2036 2023-02-09 20:11:55 +08:00
lib_loopback.c
lib_nameindex.c
lib_nametoindex.c
Make.defs net: Implement shutdown() interface and tcp shutdown 2023-01-31 11:15:01 +08:00