busybox/networking
Denis Vlasenko 540a2a1f3b libiproute: audit callgraph, shortcut error paths into die() functions.
Kill a few statics, made other globals smaller:
oneline is smallint, _SL_ is char

function                                             old     new   delta
print_tunnel                                         693     731     +38
print_route                                         1775    1777      +2
print_addrinfo                                      1495    1497      +2
ipaddr_list_or_flush                                2826    2828      +2
oneline                                                4       1      -3
_SL_                                                   4       1      -3
ipaddr_modify                                       1476    1472      -4
parse_address                                        124     119      -5
ip_parse_common_args                                 429     423      -6
on_off                                                53      46      -7
do_del_ioctl                                         113     106      -7
do_add_ioctl                                         120     113      -7
do_show                                              864     856      -8
iprule_list                                          157     148      -9
do_iptunnel                                          310     299     -11
do_add                                               143     126     -17
get_ctl_fd                                            95      76     -19
set_address                                          108      84     -24
ip_main                                              351     323     -28
static.ifr                                            32       -     -32
parse_args                                          1992    1949     -43
iproute_list_or_flush                               1673    1582     -91
do_iplink                                           1583    1485     -98
filter                                               280       -    -280
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 4/18 up/down: 44/-702)         Total: -658 bytes
2007-04-07 01:14:45 +00:00
..
libiproute libiproute: audit callgraph, shortcut error paths into die() functions. 2007-04-07 01:14:45 +00:00
udhcp udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata. 2007-04-07 01:05:47 +00:00
arp.c arp, networking/interface.c: eliminate statics 2007-03-14 22:11:20 +00:00
arping.c add x to IPv6 functions which can die 2007-02-04 02:39:08 +00:00
Config.in nc: port nc 1.10 to busybox 2007-04-05 20:26:28 +00:00
dnsd.c move everything to new NOMMU helpers, except udhcp 2007-03-26 13:20:54 +00:00
ether-wake.c - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" 2007-04-04 20:52:03 +00:00
ftpgetput.c add x to IPv6 functions which can die 2007-02-04 02:39:08 +00:00
hostname.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +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 - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" 2007-04-04 20:52:03 +00:00
ifconfig.c assorted fixes uncovered by randomconfig runs 2007-03-22 22:22:10 +00:00
ifupdown.c - very minor size tweak. 2007-03-19 19:54:56 +00:00
inetd.c - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" 2007-04-04 20:52:03 +00:00
interface.c interface: revert part of commit 18120 (eth aliases work again) 2007-03-22 19:35:51 +00:00
ip.c libiproute: audit callgraph, shortcut error paths into die() functions. 2007-04-07 01:14:45 +00:00
ipaddr.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
ipcalc.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
iplink.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
iproute.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
iprule.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
iptunnel.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
isrv_identd.c random small shrinkage and elimination of statics 2007-04-07 00:44:31 +00:00
isrv.c fixes for amd64 compilation 2007-01-20 01:47:44 +00:00
isrv.h isrv.h: add copyright info 2007-01-14 12:34:48 +00:00
Kbuild Unify ping and ping6. ping has -4 and -6 which force 2007-01-24 23:53:22 +00:00
nameif.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
nc_bloaty.c nc: code shrinkage, bugfixes. -50 bytes code size 2007-04-06 10:41:05 +00:00
nc.c nc: port nc 1.10 to busybox 2007-04-05 20:26:28 +00:00
netstat.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
nslookup.c add x to IPv6 functions which can die 2007-02-04 02:39:08 +00:00
ping.c ping: don't measure times if ping payload is less than 8 bytes; 2007-03-03 00:36:35 +00:00
route.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
telnet.c random style fixes (extra spaces deleted) 2007-03-24 15:40:16 +00:00
telnetd.c move everything to new NOMMU helpers, except udhcp 2007-03-26 13:20:54 +00:00
tftp.c tcpsvd: new applet 2007-04-01 01:18:20 +00:00
traceroute.c - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" 2007-04-04 20:52:03 +00:00
vconfig.c suppress warnings about easch <applet>_main() having 2007-02-03 17:28:39 +00:00
wget.c - add -s|--spider which only checks if the file exists but does not download it's content. 2007-04-05 10:31:47 +00:00
zcip.c - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" 2007-04-04 20:52:03 +00:00