CONFIG_NET_DHCPV4_INITIAL_DELAY_MAX

Maximum time out for initial discover request

Type: int

Help

As per RFC2131 4.1.1, we wait a random period between
1 and 10 seconds before sending the initial discover.

Direct dependencies

NET_DHCPV4 && NET_IPV4 && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 10

Kconfig definition

At <Zephyr>/subsys/net/ip/Kconfig.ipv4:66

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:83<Zephyr>/subsys/net/ip/Kconfig:117

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → IPv4 → Enable DHCPv4 client

config NET_DHCPV4_INITIAL_DELAY_MAX
    int "Maximum time out for initial discover request"
    range 2 10
    default 10
    depends on NET_DHCPV4 && NET_IPV4 && !NET_RAW_MODE && NETWORKING
    help
      As per RFC2131 4.1.1, we wait a random period between
      1 and 10 seconds before sending the initial discover.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)