nuttx/libs/libc/netdb
daichuan c7386775a7 libc/netdb: avoid unnecessary DNS notify if nameserver exists
If the nameserver already exists, return directly without calling dns_notify_nameserver to prevent cyclic notifications and high CPU usage.

Signed-off-by: daichuan <daichuan@xiaomi.com>
2026-01-15 16:20:44 -03:00
..
CMakeLists.txt netdb/lib_dnsdelserver.c: support delete the DNS server address 2025-11-08 16:17:40 -03:00
Kconfig libs/libc/netdb: Optimize the timeout calculation logic: 2025-08-06 01:58:05 +08:00
lib_dn.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_dns.h libs/libc/netdb: Optimize the timeout calculation logic: 2025-08-06 01:58:05 +08:00
lib_dnsaddserver.c libc/netdb: avoid unnecessary DNS notify if nameserver exists 2026-01-15 16:20:44 -03:00
lib_dnsbind.c libs/libc/netdb: Optimize the timeout calculation logic: 2025-08-06 01:58:05 +08:00
lib_dnscache.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_dnsdefaultserver.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_dnsdelserver.c netdb/lib_dnsdelserver.c: support delete the DNS server address 2025-11-08 16:17:40 -03:00
lib_dnsforeach.c netdb: fix may add duplicate DNS servers 2024-10-12 14:20:08 +08:00
lib_dnsinit.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_dnsnotify.c libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
lib_dnsquery.c style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
lib_dnsqueryfamily.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_freeaddrinfo.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_gaistrerror.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_getaddrinfo.c style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
lib_gethostbyaddr.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_gethostbyaddrr.c libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
lib_gethostbyname.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_gethostbyname2.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_gethostbyname2r.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_gethostbynamer.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_gethostentbynamer.c libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
lib_getnameinfo.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_getservbyname.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_getservbynamer.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_getservbyport.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_getservbyportr.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_netdb.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_netdb.h libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_parsehostfile.c style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
lib_proto.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_protor.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
lib_rexec.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
Make.defs netdb/lib_dnsdelserver.c: support delete the DNS server address 2025-11-08 16:17:40 -03:00