busybox/networking/udhcp
Denis Vlasenko b539c8452f dhcp: heed TODO item - divorced options from their string descriptions
code shrink while at it.

function                                             old     new   delta
dhcp_option_strings                                    -     258    +258
udhcp_run_script                                    1135    1174     +39
dhcp_option_lengths                                    -      11     +11
udhcp_add_simple_option                               93      92      -1
packet_num                                             4       -      -4
read_opt                                             746     739      -7
udhcp_option_lengths                                  11       -     -11
udhcpc_main                                         2590    2494     -96
dhcp_options                                         490      70    -420
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 1/4 up/down: 308/-539)         Total: -231 bytes
   text    data     bss     dec     hex filename
 775309     929    9100  785338   bfbba busybox_old
 775098     929    9084  785111   bfad7 busybox_unstripped
2007-11-29 08:17:45 +00:00
..
arpping.c udhcpc: an option to perform ARP check (Jonas Danielsson <jonas.danielsson@axis.com>) 2007-11-22 00:58:49 +00:00
clientpacket.c dhcpc: let server know we don't like oversized packets. 2007-11-28 19:23:12 +00:00
clientsocket.c - use xlisten/xsocket some more. Saves .25 kB 2006-12-19 16:31:09 +00:00
common.c trylink: produce even more info about final link stage 2007-08-12 20:58:27 +00:00
common.h dhcp: heed TODO item - divorced options from their string descriptions 2007-11-29 08:17:45 +00:00
Config.in dhcpc: let server know we don't like oversized packets. 2007-11-28 19:23:12 +00:00
dhcpc.c dhcp: heed TODO item - divorced options from their string descriptions 2007-11-29 08:17:45 +00:00
dhcpc.h udhcpc: an option to perform ARP check (Jonas Danielsson <jonas.danielsson@axis.com>) 2007-11-22 00:58:49 +00:00
dhcpd.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
dhcpd.h dhcp: heed TODO item - divorced options from their string descriptions 2007-11-29 08:17:45 +00:00
dhcprelay.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
domain_codec.c clean up accumulated whitespace damage 2007-03-07 09:35:43 +00:00
dumpleases.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
files.c dhcp: heed TODO item - divorced options from their string descriptions 2007-11-29 08:17:45 +00:00
Kbuild fix a thinko in build system 2007-11-22 20:09:41 +00:00
leases.c dhcp: heed TODO item - divorced options from their string descriptions 2007-11-29 08:17:45 +00:00
options.c dhcp: heed TODO item - divorced options from their string descriptions 2007-11-29 08:17:45 +00:00
options.h dhcp: heed TODO item - divorced options from their string descriptions 2007-11-29 08:17:45 +00:00
packet.c dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smaller 2007-11-23 00:08:54 +00:00
script.c dhcp: heed TODO item - divorced options from their string descriptions 2007-11-29 08:17:45 +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 udhcpc: an option to perform ARP check (Jonas Danielsson <jonas.danielsson@axis.com>) 2007-11-22 00:58:49 +00:00
socket.c *: compile fixes for 64-bit build 2007-08-23 10:52:52 +00:00
static_leases.c httpd: slight reduction of #ifdef forest 2006-11-21 10:15:25 +00:00