busybox/networking/udhcp
Denis Vlasenko 0416e3dde1 udhcpd: disable opton to have absolute lease times in lease file
(that does not work with dumpleases)
dumpleases: fix -a option.
networking/udhcp/*: code shrink, more compact static leases struture,
 better comments, etc

function                                             old     new   delta
find_free_or_expired_address                           -     147    +147
nobody_responds_to_arp                                 -      84     +84
read_opt                                             781     830     +49
dumpleases_main                                      435     447     +12
send_ACK                                             229     232      +3
read_staticlease                                      90      93      +3
addStaticLease                                        60      61      +1
getIpByMac                                            46      43      -3
reservedIp                                            31      20     -11
keywords                                             304     288     -16
send_offer                                           428     403     -25
write_leases                                         225     193     -32
read_leases                                          184     143     -41
read_yn                                               64       -     -64
find_address                                         191       -    -191
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 5/6 up/down: 299/-383)          Total: -84 bytes
2009-01-01 17:52:09 +00:00
..
arpping.c Fix forgotten license comments 2008-12-07 00:52:58 +00:00
clientpacket.c udhcp: add inline docs; small code shrink 2008-09-26 23:45:20 +00:00
clientsocket.c dhcp: add FAST_FUNC as appropriate. -160 bytes. 2008-09-26 09:34:59 +00:00
common.c trylink: produce even more info about final link stage 2007-08-12 20:58:27 +00:00
common.h build system: tidying up CONFIG_xxx names (suggested by Rob) 2008-11-06 00:49:59 +00:00
Config.in build system: tidying up CONFIG_xxx names (suggested by Rob) 2008-11-06 00:49:59 +00:00
dhcpc.c bb_info_msg: make it do atomic, unbuffered writes 2008-12-10 11:16:47 +00:00
dhcpc.h udhcp: added some FIXMEs; code shrink. -49 bytes 2008-09-26 16:29:12 +00:00
dhcpd.c udhcpd: disable opton to have absolute lease times in lease file 2009-01-01 17:52:09 +00:00
dhcpd.h udhcpd: disable opton to have absolute lease times in lease file 2009-01-01 17:52:09 +00:00
dhcprelay.c dhcp: add FAST_FUNC as appropriate. -160 bytes. 2008-09-26 09:34:59 +00:00
domain_codec.c build system: tidying up CONFIG_xxx names (suggested by Rob) 2008-11-06 00:49:59 +00:00
dumpleases.c udhcpd: disable opton to have absolute lease times in lease file 2009-01-01 17:52:09 +00:00
files.c udhcpd: disable opton to have absolute lease times in lease file 2009-01-01 17:52:09 +00:00
Kbuild build system: tidying up CONFIG_xxx names (suggested by Rob) 2008-11-06 00:49:59 +00:00
leases.c udhcpd: disable opton to have absolute lease times in lease file 2009-01-01 17:52:09 +00:00
options.c optimize 16- and 32-bit moves 2008-12-08 22:56:18 +00:00
options.h build system: tidying up CONFIG_xxx names (suggested by Rob) 2008-11-06 00:49:59 +00:00
packet.c Fix forgotten license comments 2008-12-07 00:52:58 +00:00
script.c libbb: add bb_unsetenv (taken from hush). 2008-12-30 05:05:31 +00:00
serverpacket.c udhcpd: disable opton to have absolute lease times in lease file 2009-01-01 17:52:09 +00:00
signalpipe.c dhcp: add FAST_FUNC as appropriate. -160 bytes. 2008-09-26 09:34:59 +00:00
socket.c *: fix SO_BINDTODEVICE. Kernel wants at least IFNAMSIZ bytes there. 2008-12-10 11:12:16 +00:00
static_leases.c udhcpd: disable opton to have absolute lease times in lease file 2009-01-01 17:52:09 +00:00