busybox/networking/udhcp
Denis Vlasenko 42b3dea9bf udhcp: many small fixes:
* arpping(): smaller and even probably fixed
* lots of variables/params converted: ulong -> uint32_t
* uptime() nuked in favor of monotonic_sec()
* udhcp_get_packet(): only one "bad vendor", simplify

function                                             old     new   delta
reservedIp                                            36      35      -1
udhcpc_main                                         2462    2460      -2
addStaticLease                                        64      62      -2
static.broken_vendors                                 16       -     -16
uptime                                                19       -     -19
udhcpd_main                                         1273    1238     -35
udhcp_get_packet                                     223     184     -39
.rodata                                           144162  144106     -56
arpping                                              690     609     -81
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 0/7 up/down: 0/-251)           Total: -251 bytes
   text    data     bss     dec     hex filename
 734241    3028   14400  751669   b7835 busybox_old
 734005    3028   14400  751433   b7749 busybox_unstripped
2007-07-03 15:47:50 +00:00
..
arpping.c udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
clientpacket.c udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
clientsocket.c - use xlisten/xsocket some more. Saves .25 kB 2006-12-19 16:31:09 +00:00
common.c udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
common.h udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
Config.in udhcp: new config option "Rewrite the lease file at every new acknowledge" 2007-07-01 17:05:57 +00:00
dhcpc.c udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
dhcpc.h udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
dhcpd.c udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
dhcpd.h udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
dhcprelay.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
domain_codec.c clean up accumulated whitespace damage 2007-03-07 09:35:43 +00:00
dumpleases.c - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" 2007-04-04 20:52:03 +00:00
files.c udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
Kbuild Move udhcp to new NOMMU helpers. 2007-03-26 13:22:35 +00:00
leases.c udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
options.c udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>) 2007-02-27 21:15:08 +00:00
options.h udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata. 2007-04-07 01:05:47 +00:00
packet.c udhcp: many small fixes: 2007-07-03 15:47:50 +00:00
script.c udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata. 2007-04-07 01:05:47 +00:00
serverpacket.c udhcp: new config option "Rewrite the lease file at every new acknowledge" 2007-07-01 17:05:57 +00:00
signalpipe.c xpipe: introduce (saves ~170 bytes) 2007-05-26 16:44:20 +00:00
socket.c udhcp: new config option "Rewrite the lease file at every new acknowledge" 2007-07-01 17:05:57 +00:00
static_leases.c httpd: slight reduction of #ifdef forest 2006-11-21 10:15:25 +00:00