busybox/networking/udhcp
Johannes Stezenbach 2d576e2a22 udhcpc: make DHCP packets to have at least 300 DHCP bytes
Commit b8b72f02 removed all padding from DHCP packets
to fix operation with buggy servers which can't handle
maximum sized packets.  But it introduced a regression
with buggy routers which drop DHCP packets smaller
than 300 bytes (i.e. 342 byte ethernet packets).
Add back some padding to work around.

function                                             old     new   delta
udhcp_send_kernel_packet                             268     292     +24
udhcp_send_raw_packet                                462     473     +11
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 35/0)               Total: 35 bytes

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2013-10-28 23:27:37 +01:00
..
arpping.c udhcp: make arpping code resistant to time jumps 2012-04-17 17:10:31 +02:00
common.c udhcp: code shrink 2013-05-17 15:19:47 +02:00
common.h Add yet another missing ALIGN2 on a global declaration. 2012-07-26 12:58:41 +02:00
Config.src
d6_common.h fix build breakage found by randconfig 2012-04-20 14:48:00 +02:00
d6_dhcpc.c udhcpc6: fix port numbers used if !FEATURE_UDHCP_PORT 2013-01-28 15:25:35 +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 udhcpc: tweak help text more 2013-08-08 12:45:45 +02:00
dhcpc.h udhcpc6: fix port numbers used if !FEATURE_UDHCP_PORT 2013-01-28 15:25:35 +01:00
dhcpd.c udhcpd: also add -I ADDR to help text 2013-03-14 02:18:52 +01:00
dhcpd.h udhcpc6: fix port numbers used if !FEATURE_UDHCP_PORT 2013-01-28 15:25:35 +01:00
dhcprelay.c
domain_codec.c
dumpleases.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
files.c
Kbuild.src
leases.c
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