busybox/networking/libiproute
André Draszik 2f24d30d01 iproute: support for filtering by and printing of scope
This patch adds filtering by and printing of 'scope' to the
ip route command, taken from the upstream ip command.

x86_64:
function                                             old     new   delta
iproute_list_or_flush                               1548    1674    +126
print_route                                         2394    2469     +75
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 201/0)             Total: 201 bytes

mipsel:
iproute_list_or_flush                               1952    2096    +144
print_route                                         2580    2696    +116
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 2/0 up/down: 260/0)             Total: 260 bytes

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-06-13 19:59:59 +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 ipaddress: tweak help text 2017-04-07 18:14:46 +02:00
iplink.c iplink: implement "set promisc on|off". Closes 4682 2017-04-06 16:06:04 +02:00
ipneigh.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
iproute.c iproute: support for filtering by and printing of scope 2017-06-13 19:59:59 +02:00
iprule.c ip rule: add suppress_{prefixlength,ifgroup} options 2017-06-13 19:06:09 +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 fix breakage found by mass one-applet builds 2016-12-23 02:42:26 +01:00
libnetlink.c libnetlink: fix alignment of netlink messages 2016-09-18 22:55:47 +02: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 *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
ll_types.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +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: FACT_FUNCization 2017-04-07 17:15:40 +02:00
utils.h libiproute: FACT_FUNCization 2017-04-07 17:15:40 +02:00