busybox/networking
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
..
libiproute *: merge some common strings 2010-03-23 16:25:17 +01:00
udhcp udhcp: pass pointer to whole packet to "add option" functions 2010-03-26 09:32:09 +01:00
arp.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
arping.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
brctl.c brctl: fixing stp parameters incompatibility 2010-03-23 05:18:38 +01:00
Config.in tftp: do not show progress bar if we get error right away. +13 bytes 2010-03-05 23:38:54 +01:00
dnsd.c tftp: do not show progress bar if we get error right away. +13 bytes 2010-03-05 23:38:54 +01:00
ether-wake.c udhcp: handle errors in read_staticlease 2010-03-23 15:43:08 +01:00
ftpd.c typo fixes 2010-02-24 14:27:55 +01:00
ftpgetput.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
hostname.c *: gethostname-related fixes 2010-02-27 19:38:19 +01:00
httpd_indexcgi.c *: make it easier to distinquish "struct tm", pointer to one, etc 2010-01-09 19:10:49 +01:00
httpd_post_upload.txt httpd_post_upload.txt example: handle binary files too 2009-11-13 09:37:50 +01:00
httpd_ssi.c httpd_ssi.c: make it a bit less broken 2009-09-13 17:38:15 +02:00
httpd.c *: do not check for POLLIN/POLLOUT only, just in case it's POLHUP/POLERR 2010-03-02 15:02:45 +01:00
ifconfig.c more thorough fix for systems with strange socklen_t 2010-02-02 12:45:38 +01:00
ifenslave.c ifenslave: fix for 2.4 kernels compile 2009-09-23 23:47:52 +02:00
ifplugd.c *: merge some common strings 2010-03-23 16:25:17 +01:00
ifupdown.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
inetd.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
interface.c more thorough fix for systems with strange socklen_t 2010-02-02 12:45:38 +01:00
ip.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
ipcalc.c *: eliminate more aliasing warnings 2010-02-04 18:41:18 +01:00
isrv_identd.c ftpd: code chrink, fixed some minor bugs 2009-03-08 23:46:48 +00:00
isrv.c
isrv.h *: make "pragma GCC visibility push(hidden)" less ugly 2009-04-09 12:35:13 +00:00
Kbuild ntpd: new applet by Adam Tkac. +5k. 2009-11-22 03:43:55 +01:00
nameif.c udhcp: handle errors in read_staticlease 2010-03-23 15:43:08 +01:00
nc_bloaty.c nc: fix "nc -nl -p LPORT RHOST" case (was expecting remote port 0). closes bug 837 2010-01-08 16:09:45 +01:00
nc.c nc: fix nc -ll; report vfork errors; make select loop faster 2009-08-03 02:59:22 +02:00
netstat.c netstat: fix a trivial bug 2010-02-19 08:29:32 +01:00
nslookup.c nslookup: glibc + IPv6 address of DNS server don't mix (yet) 2008-11-17 15:36:36 +00:00
ntpd_simple.c ntpd: ntpd.c -> ntpd_simple.c 2010-01-01 16:45:43 +01:00
ntpd.c *: code shrink and better "died from signal" reporting from wait4pid 2010-03-18 22:44:00 +01:00
ping.c ping: do not leak data from stack; shrink 2010-03-03 01:10:29 +01:00
pscan.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
route.c *: a few more NOINLINEs 2009-10-08 14:35:37 +02:00
slattach.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
tc.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
tcpudp_perhost.c
tcpudp_perhost.h *: make "pragma GCC visibility push(hidden)" less ugly 2009-04-09 12:35:13 +00:00
tcpudp.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
telnet.c *: do not check for POLLIN/POLLOUT only, just in case it's POLHUP/POLERR 2010-03-02 15:02:45 +01:00
telnetd.c *: suppress ~60% of "aliased warnings" on gcc-4.4.1 2010-02-04 15:00:15 +01:00
telnetd.ctrlSQ.patch *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
tftp.c tftp: do not show progress bar if we get error right away. +13 bytes 2010-03-05 23:38:54 +01:00
traceroute.c whitespace fixes 2010-01-25 13:39:24 +01:00
tunctl.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
vconfig.c vconfig: style fix, no code changes 2008-12-02 20:38:36 +00:00
wget.c wget: fix bug 1057 "busybox wget segfaults with http_proxy environment set" 2010-02-11 04:23:43 +01:00
zcip.c *: code shrink and better "died from signal" reporting from wait4pid 2010-03-18 22:44:00 +01:00