hush/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
common.c
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
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
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
static_leases.c