nuttx-apps/include/netutils
shichunma c82957109f netutils: prefer DHCP-provided NTP servers for ntpc
Use the DHCP-learned NTP server list as the default ntpc server source when DHCP option 42 is available.

Fall back to CONFIG_NETUTILS_NTPCLIENT_SERVER only when DHCP does not provide any NTP servers, and restart ntpc when the DHCP-provided server list changes.

Signed-off-by: Jerry Ma <masc2008@gmail.com>
2026-04-24 10:44:08 -03:00
..
base64.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
chat.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
cmux.h include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
curl4nx.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
dhcp6c.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
dhcpc.h netutils/dhcpc: parse DHCP NTP server option 2026-04-24 10:44:08 -03:00
dhcpd.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
discover.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
esp8266.h netutils/esp8266: Add a function for finalization. 2025-07-22 15:04:36 +02:00
ftpc.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
ftpd.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
httpd.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
icmp_ping.h netutils/ping: Support ICMP filter for ping. 2026-01-19 14:09:31 +08:00
icmpv6_ping.h ping: add -I for bind device 2025-12-25 12:24:04 +08:00
ipmsfilter.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
md5.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
mdnsd.h apps/netutils: add mdns library support 2025-06-02 23:18:24 +08:00
netinit.h netutils/netinit: Support the NETINIT_MACADDR 2026-01-29 12:08:20 +08:00
netlib.h netutils: prefer DHCP-provided NTP servers for ntpc 2026-04-24 10:44:08 -03:00
ntpclient.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
pppd.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
ptpd.h netutils/ptpd: using -B to control BMCA message 2025-12-30 08:51:51 -03:00
smtp.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
telnetc.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
telnetd.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
tftp.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
thttpd.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
urldecode.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
webclient.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
xmlrpc.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
xtables.h include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00