hush/networking/libiproute
Denys Vlasenko e6a2f4cc5a libbb: make bb_common_bufsiz1 1 kbyte, add capability to use bss tail for it
The config item is FEATURE_USE_BSS_TAIL. When it is off (default):

function                                             old     new   delta
read_config                                          210     228     +18
doCommands                                          2279    2294     +15
ipneigh_list_or_flush                                763     772      +9
ipaddr_list_or_flush                                1256    1261      +5
display_process_list                                1301    1306      +5
conspy_main                                         1378    1383      +5
do_lzo_compress                                      352     355      +3
do_lzo_decompress                                    565     567      +2
push                                                  46      44      -2
inetd_main                                          2136    2134      -2
uevent_main                                          421     418      -3
addLines                                              97      92      -5
bb_common_bufsiz1                                   8193    1024   -7169
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 8/5 up/down: 62/-7181)        Total: -7119 bytes
   text	   data	    bss	    dec	    hex	filename
 829850	   4086	   9080	 843016	  cdd08	busybox_old
 829901	   4086	   1904	 835891	  cc133	busybox_unstripped

FEATURE_USE_BSS_TAIL=y:

read_config                                          210     228     +18
doCommands                                          2279    2294     +15
ipneigh_list_or_flush                                763     772      +9
ipaddr_list_or_flush                                1256    1261      +5
display_process_list                                1301    1306      +5
conspy_main                                         1378    1383      +5
do_lzo_compress                                      352     355      +3
do_lzo_decompress                                    565     567      +2
inetd_main                                          2136    2134      -2
bb_common_bufsiz1                                   8193       -   -8193
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 8/1 up/down: 62/-8195)        Total: -8133 bytes
   text	   data	    bss	    dec	    hex	filename
 829850	   4086	   9080	 843016	  cdd08	busybox_old
 829911	   4086	    880	 834877	  cbd3d	busybox_unstripped

FIXME: setup_common_bufsiz() calls are missing.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-04-21 17:39:11 +02:00
..
ip_common.h networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
ip_parse_common_args.c libiproute: rename invarg(a,b) to invarg_1_to_2(a,b) 2015-10-14 13:21:01 +02:00
ipaddress.c libbb: make bb_common_bufsiz1 1 kbyte, add capability to use bss tail for it 2016-04-21 17:39:11 +02:00
iplink.c libiproute: rename invarg(a,b) to invarg_1_to_2(a,b) 2015-10-14 13:21:01 +02:00
ipneigh.c libbb: make bb_common_bufsiz1 1 kbyte, add capability to use bss tail for it 2016-04-21 17:39:11 +02:00
iproute.c libbb: make bb_common_bufsiz1 1 kbyte, add capability to use bss tail for it 2016-04-21 17:39:11 +02:00
iprule.c libiproute: make rt_addr_n2a() and format_host() return auto strings 2015-10-14 13:56:42 +02:00
iptunnel.c libiproute: make rt_addr_n2a() and format_host() return auto strings 2015-10-14 13:56:42 +02:00
Kbuild.src networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
libnetlink.c iproute: fix parsing and matching of of "short" IP addrs like 10/8 2011-02-23 01:20:44 +01:00
libnetlink.h whitespace cleanup 2010-10-29 11:46:52 +02:00
ll_addr.c whitespace cleanup 2010-10-29 11:46:52 +02:00
ll_map.c libiproute: use if_nametoindex 2015-10-24 22:04:36 +02:00
ll_map.h libbb: auto_string() for efficient handling of temporary malloced stirngs 2015-10-09 17:59:56 +02:00
ll_proto.c Fix compile failure in ll_proto.c 2012-09-03 11:41:30 +02:00
ll_types.c add include <sys/socket.h> 2011-04-17 23:18:15 +02:00
rt_names.c iproute: more string reuse 2015-10-08 17:15:08 +02:00
rt_names.h libiproute: use itoa() where appropriate 2015-10-08 13:02:28 +02:00
rtm_map.c libiproute: use itoa() where appropriate 2015-10-08 13:02:28 +02:00
rtm_map.h libiproute: use itoa() where appropriate 2015-10-08 13:02:28 +02:00
utils.c libiproute: make rt_addr_n2a() and format_host() return auto strings 2015-10-14 13:56:42 +02:00
utils.h libiproute: make rt_addr_n2a() and format_host() return auto strings 2015-10-14 13:56:42 +02:00