busybox/networking/udhcp
Michel Stam 9f41271f3c udhcpd: add option for tweaking arpping
Some clients have a very short timeout for sending the DHCP
DISCOVER, shorter than the arpping timeout of 2000 milliseconds
that udhcpd uses by default.

This patch allows tweaking the timeout, or disabling of arpping
altogether, at the risk of handing out addresses which are
already in use.

function                                             old     new   delta
udhcpd_main                                         1460    1501     +41
udhcpc_main                                         2814    2851     +37
packed_usage                                       29957   29974     +17
arpping                                              477     493     +16
find_free_or_expired_nip                             161     174     +13
send_offer                                           285     292      +7
nobody_responds_to_arp                                85      89      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 7/0 up/down: 135/0)             Total: 135 bytes

Signed-off-by: Michel Stam <m.stam@fugro.nl>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-10-30 11:59:04 +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 udhcpc6: set hop limit to 1 in emitted raw packets 2011-11-07 18:22:06 +01:00
d6_socket.c udhcpc6: new applet. Not yet functional. 2011-11-07 15:55:39 +01:00
dhcpc.c udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +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 move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
domain_codec.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
dumpleases.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
files.c udhcp: fix some default values from "" to NULL 2011-05-03 16:46:47 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
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 udhcp: cosmetic cleanups; one case of s/full_read/xread/ 2010-03-26 10:09:34 +01:00
socket.c udhcp[cd]: fix binding to network aliases. Closes 5432, 5438 2012-08-10 00:27:22 +02:00
static_leases.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00