busybox/networking/udhcp
Denys Vlasenko 28634924f0 udhcpc: account for script run time
Based on the following user report:

I ran into an issue where I was seeing a long delay in the scripts called
in udhcp_run_script. I was using an old version of OpenWrt (kamikaze)
and a satellite modem. An NTP script was being called and the modem
would sometimes take a long time to respond to the DNS lookup when
it was offline.

This delay started affecting my lease time. The lease that I would
get from my satellite modem before it was online would be short:
only 60 seconds. The delay with NTP and the modem would typically
be about 18 seconds. This would cause the first DHCP renew request
from dhcpc to be a little late. Under certain circumstances,
I could even see the first DHCP renew to occur after the lease
had expired!

function                                             old     new   delta
udhcpc_main                                         2816    2837     +21

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-12-21 16:10:22 +01:00
..
arpping.c udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
common.c udhcp: add PXELINUX path prefix option (code 210) definition 2014-07-16 14:21:42 +02:00
common.h udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
Config.src udhcpc: make hostname sanitization optional. Closes 3979 2014-06-16 00:17:00 +02:00
d6_common.h fix build breakage found by randconfig 2012-04-20 14:48:00 +02:00
d6_dhcpc.c udhcpc: fix BPF filter. Hopefully fixes the root cause of 4598 and 6746 2014-02-19 14:17:11 +01:00
d6_packet.c
d6_socket.c
dhcpc.c udhcpc: account for script run time 2014-12-21 16:10:22 +01:00
dhcpc.h udhcpc6: fix port numbers used if !FEATURE_UDHCP_PORT 2013-01-28 15:25:35 +01:00
dhcpd.c udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
dhcpd.h udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
dhcprelay.c
domain_codec.c
dumpleases.c
files.c udhcpd: if a lease from lease file coincides with a static one, ignore it 2014-11-25 18:49:14 +01:00
Kbuild.src
leases.c udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
packet.c udhcpc: make DHCP packets to have at least 300 DHCP bytes 2013-10-28 23:27:37 +01:00
signalpipe.c
socket.c udhcp[cd]: fix binding to network aliases. Closes 5432, 5438 2012-08-10 00:27:22 +02:00
static_leases.c