nuttx/libs/libc/netdb
zhanghongyu daf39c03bd dns_client: directly initialize g_dns_servers and remove dns_initialize directly
g_dns_servers need init before dns_query, Otherwise sim can not add default
dns server when use usrsock mode to share host network.

Avoid similar problems in the future, so directly initialize g_dns_servers.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-15 16:39:37 +03:00
..
Kconfig Revert "lib/netdb: Change the default NETDB_DNSCLIENT_NAMESIZE to NAME_MAX" 2021-10-29 01:15:58 -05:00
lib_dn.c Add dn resolution function 2022-03-17 09:37:15 +02:00
lib_dns.h dns_client: directly initialize g_dns_servers and remove dns_initialize directly 2022-08-15 16:39:37 +03:00
lib_dnsaddserver.c dns_client: directly initialize g_dns_servers and remove dns_initialize directly 2022-08-15 16:39:37 +03:00
lib_dnsbind.c dns_client: directly initialize g_dns_servers and remove dns_initialize directly 2022-08-15 16:39:37 +03:00
lib_dnscache.c libc/net:use strlcpy instead of strncpy 2022-04-12 21:16:11 +08:00
lib_dnsdefaultserver.c
lib_dnsforeach.c libc/netdb: Hold dns lock when operating with resolv.conf 2022-04-04 19:48:36 +09:00
lib_dnsinit.c dns_client: directly initialize g_dns_servers and remove dns_initialize directly 2022-08-15 16:39:37 +03:00
lib_dnsnotify.c Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
lib_dnsquery.c Remove executable permission from source and build files. 2022-08-04 12:48:18 -03:00
lib_freeaddrinfo.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
lib_gaistrerror.c libs: libc: update licenses to Apache 2021-05-27 08:07:25 +09:00
lib_getaddrinfo.c netdb/getaddrinfo: fix NULL pointer reference 2022-03-18 20:11:54 +02:00
lib_gethostbyaddr.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_gethostbyaddrr.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
lib_gethostbyname2.c
lib_gethostbyname2r.c
lib_gethostbyname.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_gethostbynamer.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_gethostentbynamer.c Remove executable permission from source and build files. 2022-08-04 12:48:18 -03:00
lib_getnameinfo.c libs: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC() 2022-07-14 12:08:45 +08:00
lib_getservbyname.c libs: libc: update licenses to Apache 2021-05-27 08:07:25 +09:00
lib_getservbynamer.c net: use HTONS, NTOHS, HTONL, NTOHL macro in kernel code 2022-01-18 10:59:47 +01:00
lib_getservbyport.c libs: libc: update licenses to Apache 2021-05-27 08:07:25 +09:00
lib_getservbyportr.c net: use HTONS, NTOHS, HTONL, NTOHL macro in kernel code 2022-01-18 10:59:47 +01:00
lib_netdb.c nuttx: unify FAR attribute usage across the code 2022-04-04 21:32:58 +08:00
lib_netdb.h nuttx: unify FAR attribute usage across the code 2022-04-04 21:32:58 +08:00
lib_parsehostfile.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_rexec.c Fix various typos 2022-07-08 02:15:54 +08:00
Make.defs Add dn resolution function 2022-03-17 09:37:15 +02:00