hush/networking/libiproute
Curt Brune 69934701fd networking: add 'ip neigh' command
This patch ports the 'ip neigh' command, originally written by Alexey
Kuznetsov, <kuznet@ms2.inr.ac.ru>, to busybox.

The base of the port is the version of iproute that shipped with
Debian Squeeze, taken from:

  http://http.debian.net/debian/pool/main/i/iproute/iproute_20100519.orig.tar.gz

This patch has actively been used by the Open Network Install
Environment (ONIE) project for over 3 years without incident.

function                                             old     new   delta
print_neigh                                            -     933    +933
ipneigh_list_or_flush                                  -     742    +742
get_hz                                                 -     109    +109
do_ipneigh                                             -      62     +62
do_iproute                                          2112    2153     +41
packed_usage                                       30647   30667     +20
ipneigh_main                                           -      14     +14
static.ip_neigh_commands                               -      12     +12
static.nuds                                            -       9      +9
static.ip_func_ptrs                                   32      36      +4
print_route                                         1858    1727    -131
------------------------------------------------------------------------------
(add/remove: 8/0 grow/shrink: 3/1 up/down: 1946/-131)        Total: 1815 bytes

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-10-14 12:53:47 +02:00
..
ip_common.h networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
ip_parse_common_args.c whitespace cleanup 2010-10-29 11:46:52 +02:00
ipaddress.c libiproute: use itoa() where appropriate 2015-10-08 13:02:28 +02:00
iplink.c ip link: add support for "address ETHADDR". Closes 4862 2014-03-01 17:38:41 +01:00
ipneigh.c networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
iproute.c networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
iprule.c libiproute: use itoa() where appropriate 2015-10-08 13:02:28 +02:00
iptunnel.c libiproute: use itoa() where appropriate 2015-10-08 13:02:28 +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 libbb: auto_string() for efficient handling of temporary malloced stirngs 2015-10-09 17:59:56 +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 networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
utils.h networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00