nuttx-apps/examples/dhcpd
zhangshuai39 6830e297cf dhcpd: Supports kernel mode compilation
The previous method of terminating the dhcp daemon via a global variable has been removed; instead, the `kill pid` command is used. Also, because the original `dhcp_start` method creates tasks via `task_create`, which is not supported in kernel mode, `dhcp_start` is not compiled in kernel mode. The daemon can be started in kernel mode using `dhcpd xxx &`.

Signed-off-by: zhangshuai39 <zhangshuai39@xiaomi.com>
2026-01-02 12:29:42 -03:00
..
CMakeLists.txt dhcpd: Supports kernel mode compilation 2026-01-02 12:29:42 -03:00
dhcpd_daemon.c dhcpd: Supports kernel mode compilation 2026-01-02 12:29:42 -03:00
dhcpd_daemon.h examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
dhcpd_start.c examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
dhcpd_stop.c examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
host.c examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Kconfig examples/dhcpd: reuse the router ip/mask from dhcpd lib 2020-05-09 13:31:15 -06:00
Make.defs examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile dhcpd: Supports kernel mode compilation 2026-01-02 12:29:42 -03:00
Makefile.host examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
target.c examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00