zephyr/subsys/net
Krishna T 25d0f87b3c net: dhcp: Add support for restarting DHCP
If a L2 link has been established, then the DHCP is taking too long as
it has to go through its capped exponential backoff timers to trigger
discover (The DHCP starts immediately during init, this is itself wrong,
it should start on a link UP notification) that delays the DHCP for
few seconds to a minute.

And if we do stop and start DHCP then also it goes through the initial
delays (though configurable), which is also not ideal.

Add support for restarting DHCP without any delay, i.e., release and
send discover immediately.

This is also useful in case L2 switches to a different subnet, in this
case Zephyr doesn't restart DHCP automatically, this API can be used by
L2 apps/drivers to restart DHCP to get new subnet IP.

Signed-off-by: Krishna T <krishna.t@nordicsemi.no>
2022-09-06 09:56:22 +02:00
..
ip net: dhcp: Add support for restarting DHCP 2022-09-06 09:56:22 +02:00
l2 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
lib net: context: clean up net_context_get() 2022-09-05 14:35:17 +00:00
pkt_filter
CMakeLists.txt
Kconfig net: introduce NET_IP config to efficiently mark conditional code 2022-09-05 14:35:17 +00:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net
buf.c
hostname.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00