nuttx-apps/netutils/dhcpc/Kconfig
chao.an 70bb13ce3b netutils/dhcpc: configurable timeout and retry count.
Change-Id: I92e77bd24ddd7ffff39de9215f4b7c05a7b55bee
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 18:11:27 -06:00

33 lines
745 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config NETUTILS_DHCPC
bool "DHCP client"
default n
depends on NET_UDP && NET_BROADCAST && NET_IPv4
---help---
Enable support for the DHCP client.
if NETUTILS_DHCPC
config NETUTILS_DHCPC_HOST_NAME
string "DHCP client host name"
default "nuttx"
config NETUTILS_DHCPC_RECV_TIMEOUT
int "Number of receive timeout in second"
default 3
---help---
This is the timeout value when dhcp client receives response
config NETUTILS_DHCPC_RETRIES
int "Number of retries for dhcp client request"
default 3
---help---
This setting determines how many times resolver retries request
until failing.
endif