busybox/networking/udhcp
Denys Vlasenko 7724c766bd udhcp: pass pointer to whole packet to "add option" functions
This is needed for "overflow option" support

function                                             old     new   delta
udhcp_find_option                                      -      34     +34
udhcp_add_binary_option                               94     106     +12
write_leases                                         227     223      -4
udhcp_init_header                                     86      82      -4
send_release                                         104      99      -5
init_packet                                           87      81      -6
add_client_options                                   160     154      -6
add_server_options                                   100      92      -8
udhcpd_main                                         1964    1954     -10
udhcpc_main                                         2859    2837     -22
find_option                                           34       -     -34
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/8 up/down: 46/-99)            Total: -53 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-26 09:32:09 +01:00
..
arpping.c *: eliminate more aliasing warnings 2010-02-04 18:41:18 +01:00
common.c udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
common.h udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
Config.in replace APP_xxDHCPxx with xxDHCPxx, it's more consistent with the rest 2009-12-11 02:21:10 +01:00
dhcpc.c udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
dhcpc.h udhcpc: add -x OPT:VAL option 2010-03-25 20:32:38 +01:00
dhcpd.c udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
dhcpd.h udhcp: move options.c to common.c; disable unused bool and s16 option code 2010-03-26 08:35:24 +01:00
dhcprelay.c udhcp: merge options.h into common.h, script.c into dhcpc.c 2010-03-22 14:29:13 +01:00
domain_codec.c udhcp: add testing bits to dns en/decoder 2010-03-24 16:43:16 +01:00
dumpleases.c further work on unicodization 2010-01-30 23:16:21 +01:00
files.c udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
Kbuild udhcp: move options.c to common.c; disable unused bool and s16 option code 2010-03-26 08:35:24 +01:00
leases.c udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
packet.c udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
signalpipe.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
socket.c udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
static_leases.c udhcp: convert old-style logging in print_static_leases 2009-06-17 13:44:04 +02:00