2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-14 22:01:08 +02:00
|
|
|
|
|
|
|
config NETUTILS_DHCPC
|
|
|
|
bool "DHCP client"
|
|
|
|
default n
|
2015-02-03 15:01:55 +01:00
|
|
|
depends on NET_UDP && NET_BROADCAST && NET_IPv4
|
2012-04-14 22:01:08 +02:00
|
|
|
---help---
|
|
|
|
Enable support for the DHCP client.
|
|
|
|
|
|
|
|
if NETUTILS_DHCPC
|
2017-05-02 16:20:05 +02:00
|
|
|
|
2019-08-14 13:29:18 +02:00
|
|
|
config NETUTILS_DHCPC_HOST_NAME
|
|
|
|
string "DHCP client host name"
|
|
|
|
default "nuttx"
|
|
|
|
|
2020-03-30 12:50:47 +02:00
|
|
|
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.
|
|
|
|
|
2021-01-18 10:57:33 +01:00
|
|
|
config NETUTILS_DHCPC_BOOTP_FLAGS
|
|
|
|
hex "Flags of Bootstrap"
|
|
|
|
default 0x8000
|
|
|
|
---help---
|
|
|
|
This setting to set the BOOTP broadcast flags.
|
|
|
|
Reference RFC1542: Clarifications and Extensions for the
|
|
|
|
Bootstrap Protocol.
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
endif
|