busybox/networking/libiproute
Denys Vlasenko 2075553a1b libbb: add bit counting function, use where appropriate
Although "naive" counting function is not too slow and is smaller,
using it on e.g. each of 1024 words of CPU mask feels wrong.

function                                             old     new   delta
bb_popcnt_32                                           -      52     +52
get_prefix                                           323     321      -2
nproc_main                                           206     199      -7
d4_run_script                                        739     731      -8
ipcalc_main                                          533     507     -26
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 0/4 up/down: 52/-43)              Total: 9 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2024-05-31 16:03:23 +02:00
..
Kbuild.src tc: fix single-applet build 2018-01-13 21:37:20 +01:00
ip_common.h ip address: Add support for "valid_lft" and "preferred_lft" options 2020-07-31 18:48:50 +02:00
ip_parse_common_args.c ip: code shrink 2023-04-23 12:37:46 +02:00
ipaddress.c ip: code shrink 2023-04-23 12:37:46 +02:00
iplink.c ip link: support for the CAN netlink 2024-02-26 14:10:10 +01:00
ipneigh.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
iproute.c libiproute: fix filtering ip6 route by table id 2023-07-09 20:26:23 +02:00
iprule.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
iptunnel.c libbb: code shrink: introduce and use [_]exit_FAILURE() 2023-06-15 11:55:56 +02:00
libnetlink.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
libnetlink.h ip: use rtnl_send_check() on flush commands, closes 6962 2019-05-22 13:54:46 +02:00
ll_addr.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
ll_map.c ip: fix crash in "ip neigh show" 2018-02-08 08:42:37 +01: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 *: slap on a few ALIGN1/2s where appropriate 2019-05-21 17:29:24 +02:00
ll_types.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
rt_names.c decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 2020-11-30 13:03:03 +01:00
rt_names.h libiproute: use itoa() where appropriate 2015-10-08 13:02:28 +02:00
rtm_map.c libiproute: reuse string constants 2020-11-21 17:23:13 +01:00
rtm_map.h libiproute: use itoa() where appropriate 2015-10-08 13:02:28 +02:00
utils.c libbb: add bit counting function, use where appropriate 2024-05-31 16:03:23 +02:00
utils.h libiproute: FACT_FUNCization 2017-04-07 17:15:40 +02:00