busybox/networking
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
..
libiproute networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
ssl_helper networking/ssl_helper: experimental matrixssl-based ssl helper 2014-02-23 23:31:13 +01:00
ssl_helper-wolfssl ssl_helper: tweaks discovered while building 32-bit version 2015-10-07 02:00:11 +02:00
udhcp udhcpc: fix for some Android toolchain breakage 2015-10-08 18:13:57 +02:00
arp.c Removes stray empty line from code 2015-07-13 03:25:46 +02:00
arping.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
brctl.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
Config.src networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
dnsd.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
ether-wake.c ether-wake: shorten help text, reduce packet buffer size 2013-10-14 19:04:20 +02:00
ftpd.c ftpd: make DIR parameter work for non-root too: chdir to it instead of chroot 2015-10-13 13:49:53 +02:00
ftpgetput.c libbb: introduce kernel-style BUILD_BUG_ON() 2015-10-13 14:50:20 +02:00
hostname.c hostname: do not use gethostbyname() for "hostname -s" 2013-12-17 19:13:45 +01:00
httpd_indexcgi.c httpd_indexcgi.c: fix compile failure 2012-09-03 12:20:10 +02:00
httpd_post_upload.txt httpd_post_upload.txt example: handle binary files too 2009-11-13 09:37:50 +01:00
httpd_ssi.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
httpd.c join some common strings, -400 bytes 2015-10-08 11:24:44 +02:00
ifconfig.c fix build error with musl libc due to if_slip.h 2013-08-15 09:54:51 +02:00
ifenslave.c join some common strings, -400 bytes 2015-10-08 11:24:44 +02:00
ifplugd.c ifplugd: discovered why it needed net/ethernet.h: just for ETH_ALEN 2015-10-07 02:02:56 +02:00
ifupdown.c ifupdown: 'prio' should have been 'metric' in static_up and static_up6 2015-08-24 20:18:36 +02:00
inetd.c *: more BUILD_BUG_ON conversions 2015-10-13 17:17:34 +02:00
interface.c use auto_string() where appropriate to kill a few statics 2015-10-09 18:16:40 +02:00
ip.c networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
ipcalc.c ipcalc: fix trivial usage message 2015-08-15 21:15:27 +02:00
isrv_identd.c fakeidentd: simplify ndelay manipulations 2014-01-10 17:12:54 +01:00
isrv.c libbb: introduce kernel-style BUILD_BUG_ON() 2015-10-13 14:50:20 +02:00
isrv.h fixlet for the previous commit #2 2014-01-09 20:09:43 +01:00
Kbuild.src wget: make openssl/ssl_helper choice configurable 2015-10-07 01:39:40 +02:00
nameif.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
nbd-client.c *: more BUILD_BUG_ON conversions 2015-10-13 17:17:34 +02:00
nc_bloaty.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
nc.c nc: use symbolic SHUT_WR instead of literal 1 2013-07-28 21:08:37 +02:00
netstat.c typo fixes 2015-05-25 13:46:36 +02:00
nslookup.c nslookup: set default DNS server again. Hopefully helps with 675 2013-06-27 01:09:51 +02:00
ntpd.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
ping.c libbb: introduce kernel-style BUILD_BUG_ON() 2015-10-13 14:50:20 +02:00
pscan.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
route.c route: fix bogus read error when route table is empty 2015-02-04 10:40:10 +01:00
slattach.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
tc.c libbb: introduce kernel-style BUILD_BUG_ON() 2015-10-13 14:50:20 +02:00
tcpudp_perhost.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tcpudp_perhost.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tcpudp.c tcpudp: simplify help text 2011-07-25 16:35:44 +02:00
telnet.c *: more BUILD_BUG_ON conversions 2015-10-13 17:17:34 +02:00
telnetd.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
telnetd.ctrlSQ.patch *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
tftp.c libbb: introduce kernel-style BUILD_BUG_ON() 2015-10-13 14:50:20 +02:00
traceroute.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
tunctl.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
vconfig.c vconfig: fix help text; small code shrink. Closes 4658 2012-01-16 04:00:37 +01:00
wget.c wget: shrink code if https isn't supported 2015-10-13 14:56:22 +02:00
whois.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
zcip.c whitespace fixes 2015-10-13 01:51:37 +02:00