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/netdb: Rename dns_sem[take|give] with dns_[lock|unlock] 2022-11-09 21:38:10 +01:00
lib_dnsbind.c netdb/dns: add support of send timeout 2022-12-16 09:51:15 +08:00
lib_dnscache.c invalid dns cache entry after ttl expires 2023-01-29 14:32:33 +08:00
lib_dnsdefaultserver.c lib/netdb: Rename dns_sem[take|give] with dns_[lock|unlock] 2022-11-09 21:38:10 +01:00
lib_dnsforeach.c dns: Reduce the dns_lock granularity 2022-11-11 20:07:05 +08:00
lib_dnsinit.c dns: Reduce the dns_lock granularity 2022-11-11 20:07:05 +08:00
lib_dnsnotify.c lib/netdb: Rename dns_sem[take|give] with dns_[lock|unlock] 2022-11-09 21:38:10 +01:00
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 libs: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC() 2022-07-14 12:08:45 +08:00
lib_getservbyname.c
lib_getservbynamer.c Return -EINVAL for the internal API 2022-09-30 17:54:56 +02:00
lib_getservbyport.c
lib_getservbyportr.c
lib_netdb.c nuttx: unify FAR attribute usage across the code 2022-04-04 21:32:58 +08:00
lib_netdb.h getaddrinfo: add AI_NUMERICHOST flag handle 2023-01-12 01:40:11 +08:00
lib_parsehostfile.c
lib_proto.c libc/netdb: add proto.c 2022-12-10 02:36:24 +08:00
lib_protor.c libc/netdb: add proto.c 2022-12-10 02:36:24 +08:00
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