zephyr/subsys/net/ip
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
..
6lo_private.h
6lo.c net: 6lo: Remove dead statement 2022-06-07 11:54:20 +02:00
6lo.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
canbus_socket.c net: core: clean up inbound packet handling 2022-09-05 14:35:17 +00:00
canbus_socket.h
CMakeLists.txt net: lib: sockets: improve scalability through a hidden var 2022-09-05 14:35:17 +00:00
connection.c net: core: clean up inbound packet handling 2022-09-05 14:35:17 +00:00
connection.h net: lib: sockets: improve scalability through a hidden var 2022-09-05 14:35:17 +00:00
dhcpv4.c net: dhcp: Add support for restarting DHCP 2022-09-06 09:56:22 +02:00
dhcpv4.h
icmpv4.c net: icmp: skip checksum calculation when possible 2022-08-09 12:29:18 +02:00
icmpv4.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
icmpv6.c net: icmp: skip checksum calculation when possible 2022-08-09 12:29:18 +02:00
icmpv6.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
igmp.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
ipv4_autoconf_internal.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
ipv4_autoconf.c net: ip: only start IP configuration on IP interfaces 2022-08-04 13:44:06 +02:00
ipv4.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
ipv4.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv6_fragment.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
ipv6_mld.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
ipv6_nbr.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
ipv6.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
ipv6.h net: ipv6: use static inlines where it makes sense for stubs 2022-07-27 18:44:07 +02:00
Kconfig net: lib: sockets: improve scalability through a hidden var 2022-09-05 14:35:17 +00:00
Kconfig.debug
Kconfig.ipv4
Kconfig.ipv6 net: l2: ieee802154: decouple L2/L3 concerns 2022-08-04 13:44:06 +02:00
Kconfig.mgmt
Kconfig.stack
Kconfig.stats wifi_mgmt: Add new API for Wi-Fi statistics 2022-08-31 21:49:47 +00:00
nbr.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
nbr.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_context.c net: context: clean up net_context_get() 2022-09-05 14:35:17 +00:00
net_core.c net: ip: core: clean up check_ip_addr() 2022-09-05 14:35:17 +00:00
net_if.c net: context: clean up net_context_get() 2022-09-05 14:35:17 +00:00
net_mgmt.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_pkt.c net: ip: build IEEE 802.15.4 L2 without IP support 2022-08-05 15:04:37 +02:00
net_private.h all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
net_shell.c net: context: clean up net_context_get() 2022-09-05 14:35:17 +00:00
net_shell.h
net_stats.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_stats.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_tc_mapping.h
net_tc.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
net_timeout.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
packet_socket.c net: core: clean up inbound packet handling 2022-09-05 14:35:17 +00:00
packet_socket.h
promiscuous.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
route.c net: route: Fix pkt leak if net_send_data() fails 2022-07-25 15:14:58 +02:00
route.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tcp_internal.h net: tcp: Implement Nagle's algorithm 2022-06-09 11:32:50 +02:00
tcp_private.h net: tcp: Implement a fast retransmit algorithm 2022-09-01 10:38:28 +00:00
tcp.c net: context: clean up net_context_get() 2022-09-05 14:35:17 +00:00
tcp.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
tp_priv.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tp.c
tp.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
trickle.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
udp_internal.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
udp.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
utils.c net: introduce NET_IP config to efficiently mark conditional code 2022-09-05 14:35:17 +00:00