busybox/networking
Denis Vlasenko 6d9ea24611 networking/interface.c: huke remaining big statics; use malloc for INET[6]_rresolve
return value. Went thru callers and adjusted them - code got smaller too.

function                                             old     new   delta
ip_port_str                                            -     126    +126
INET6_rresolve                                       165     182     +17
static.cache                                          20      24      +4
route_main                                          2092    2091      -1
INET_sprint                                           61      59      -2
INET_nn                                                4       -      -4
INET6_sprint                                          59      53      -6
udp_do_one                                           518     508     -10
tcp_do_one                                           433     423     -10
raw_do_one                                           494     484     -10
traceroute_main                                     4117    4105     -12
INET_rresolve                                        334     321     -13
bb_displayroutes                                     494     456     -38
snprint_ip_port                                      244       -    -244
static.buff                                          264      16    -248
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 2/10 up/down: 147/-598)        Total: -451 bytes

size busybox_old busybox_unstripped
   text    data     bss     dec     hex filename
 751073    3048   14688  768809   bbb29 busybox_old
 750873    3048   14440  768361   bb969 busybox_unstripped
2007-06-19 11:12:46 +00:00
..
libiproute snprintf(... "%s"...) => safe_strncpy 2007-06-04 21:03:51 +00:00
udhcp wget: use monotonic_sec instead of gettimeofday 2007-06-17 23:40:26 +00:00
arp.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
arping.c wget: use monotonic_sec instead of gettimeofday 2007-06-17 23:40:26 +00:00
Config.in make FEATURE_HAVE_RPC auto-selectable by mount and inetd sub-features 2007-06-16 13:56:51 +00:00
dnsd.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
ether-wake.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
ftpgetput.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
hostname.c Audit bb_common_bufsiz usage, add script which looks for misuse. 2007-06-04 10:16:52 +00:00
httpd_index_cgi_example httpd: directory indexer example doesn't need piping thru dd anymore 2007-02-02 01:18:37 +00:00
httpd.c httpd: move data off bss. 2007-06-09 23:49:05 +00:00
ifconfig.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
ifupdown.c whitespace fixes 2007-05-30 00:29:55 +00:00
inetd.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
interface.c networking/interface.c: huke remaining big statics; use malloc for INET[6]_rresolve 2007-06-19 11:12:46 +00:00
ip.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
ipcalc.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
isrv_identd.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
isrv.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
isrv.h isrv.h: add copyright info 2007-01-14 12:34:48 +00:00
Kbuild pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it> 2007-06-16 13:37:59 +00:00
nameif.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
nc_bloaty.c nc: make connecting to IPv4 from IPv6-enabled hosts easier 2007-06-05 20:08:11 +00:00
nc.c Audit bb_common_bufsiz usage, add script which looks for misuse. 2007-06-04 10:16:52 +00:00
netstat.c networking/interface.c: huke remaining big statics; use malloc for INET[6]_rresolve 2007-06-19 11:12:46 +00:00
nslookup.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
ping.c ping: fix write-after-allocated-mem bug 2007-06-18 08:55:57 +00:00
pscan.c hwclock: size optimizations 2007-06-17 19:09:05 +00:00
route.c networking/interface.c: huke remaining big statics; use malloc for INET[6]_rresolve 2007-06-19 11:12:46 +00:00
telnet.c Audit bb_common_bufsiz usage, add script which looks for misuse. 2007-06-04 10:16:52 +00:00
telnetd.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
tftp.c whitespace fixes 2007-05-30 00:29:55 +00:00
traceroute.c networking/interface.c: huke remaining big statics; use malloc for INET[6]_rresolve 2007-06-19 11:12:46 +00:00
vconfig.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
wget.c ping: fix write-after-allocated-mem bug 2007-06-18 08:55:57 +00:00
zcip.c wget: use monotonic_sec instead of gettimeofday 2007-06-17 23:40:26 +00:00