nuttx/libs/libc/netdb
zhanghongyu a41f68da84 dns: fix dns failed when ipv4/6 dual stack enable
The ipv6 address filled the cache, and the ipv4 address did not have a
place to store it, causing the resolution to fail. so if IPV6 has already
filled the buffer, rewrite ipv4 DNS results from half of the buffer.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-09-23 15:56:05 +08:00
..
CMakeLists.txt libs:netdb: Restrict DNS query types 2023-09-16 14:43:12 +08:00
Kconfig change the default NETDB_DNSCLIENT_MAXRESPONSE to the standard length 2023-08-29 09:44:37 +08:00
lib_dn.c net/semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
lib_dns.h libs:netdb: Restrict DNS query types 2023-09-16 14:43:12 +08:00
lib_dnsaddserver.c
lib_dnsbind.c
lib_dnscache.c invalid dns cache entry after ttl expires 2023-01-29 14:32:33 +08:00
lib_dnsdefaultserver.c
lib_dnsforeach.c
lib_dnsinit.c
lib_dnsnotify.c
lib_dnsquery.c dns: fix dns failed when ipv4/6 dual stack enable 2023-09-23 15:56:05 +08:00
lib_dnsqueryfamily.c libs:netdb: Restrict DNS query types 2023-09-16 14:43:12 +08:00
lib_freeaddrinfo.c
lib_gaistrerror.c libc: Print error code for unknown errors in strerror/gai_strerror 2023-04-22 01:46:39 +08:00
lib_getaddrinfo.c getaddrinfo: add AI_NUMERICHOST flag handle 2023-01-12 01:40:11 +08:00
lib_gethostbyaddr.c
lib_gethostbyaddrr.c fixed the unused variable caused warnning in lib_gethostbyaddrr 2023-08-21 13:01:41 +08:00
lib_gethostbyname2.c
lib_gethostbyname2r.c getaddrinfo: add AI_NUMERICHOST flag handle 2023-01-12 01:40:11 +08:00
lib_gethostbyname.c
lib_gethostbynamer.c
lib_gethostentbynamer.c dns: fix dns failed when ipv4/6 dual stack enable 2023-09-23 15:56:05 +08:00
lib_getnameinfo.c
lib_getservbyname.c
lib_getservbynamer.c
lib_getservbyport.c
lib_getservbyportr.c
lib_netdb.c
lib_netdb.h getaddrinfo: add AI_NUMERICHOST flag handle 2023-01-12 01:40:11 +08:00
lib_parsehostfile.c
lib_proto.c
lib_protor.c
lib_rexec.c nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
Make.defs libs:netdb: Restrict DNS query types 2023-09-16 14:43:12 +08:00