hush/networking/udhcp
Denis Vlasenko 73121c3c8c dhcpd,dumpleases: write and use 64-bit current time in lease file.
without it, determination of remaining lease time is unreliable.
 Yes, it's costly in code size, but without it, dumpleases output
 is misleading!

function                                             old     new   delta
read_leases                                          143     282    +139
dumpleases_main                                      447     572    +125
write_leases                                         193     233     +40
hton64                                                29      58     +29
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 333/0)             Total: 333 bytes
2009-02-01 00:40:45 +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
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 dhcpc: suppress "warning: 'timestamp_before_wait' might be used uninitialized 2009-01-14 00:28:03 +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 dhcpd,dumpleases: write and use 64-bit current time in lease file. 2009-02-01 00:40:45 +00:00
files.c dhcpd,dumpleases: write and use 64-bit current time in lease file. 2009-02-01 00:40:45 +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