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
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
lib_freeifaddrs.c
lib_freenameindex.c
lib_getifaddrs.c
lib_htonl.c
lib_htons.c
lib_indextoname.c
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
lib_inetntoa.c
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