aboutsummaryrefslogtreecommitdiff
path: root/networking/arping.c
AgeCommit message (Collapse)Author
2007-06-17hwclock: size optimizationsDenis Vlasenko
libbb/time.c: new file, introducing monotonic_us() pscan, traceroute, arping: use it instead of gettimeofday ping, zcip: TODO function old new delta monotonic_us - 89 +89 find_pair 164 180 +16 .rodata 129747 129763 +16 refresh 1144 1152 +8 ............ timeout 8 4 -4 static.start 8 4 -4 last 8 4 -4 parse_conf 1303 1284 -19 time_main 1149 1124 -25 gettimeofday_us 39 - -39 arping_main 2042 1969 -73 hwclock_main 594 501 -93 catcher 485 380 -105 traceroute_main 4300 4117 -183 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 8/11 up/down: 157/-562) Total: -405 bytes
2007-06-17arping: -i should be -IDenis Vlasenko
2007-05-31delete tons of extra #includesDenis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-02-04add x to IPv6 functions which can dieDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2007-01-25arping: stop using last gethostbyname2 in the treeDenis Vlasenko
hostname: small optimization
2007-01-22cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
2006-12-23use xbind, xconnect where appropriate.Denis Vlasenko
small edits to arping
2006-11-22introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko
use them where appropriate. 200 bytes saved
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-10-03rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko
2006-09-23arping: fix bug (getopt_ulflags and optarg don't mix),Denis Vlasenko
remove unreachable error path.
2006-09-03replacing func() with xfunc() where appropriateDenis Vlasenko
2006-07-16Convert setuid/setgid users to xsetuid/xsetgid.Rob Landley
2006-07-01More removal of "#if 0" content."Robert P. J. Day"
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-04-12- patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer
bb_xopen some more while at it. Also use shorter boilerplate while at it.
2006-04-03- coalesce printf calls.Bernhard Reutner-Fischer
text data bss dec hex filename 3474 4 96 3574 df6 networking/arping.o.orig 3424 4 96 3524 dc4 networking/arping.o
2006-04-03- use bb_opt_complementally; Saves another 14 bytes. (thanks again, vodz)Bernhard Reutner-Fischer
2006-04-03- set flags in a more reasonable manner. Thanks, vodz.Bernhard Reutner-Fischer
text data bss dec hex filename 3520 4 96 3620 e24 networking/arping.o.oorig 3488 4 96 3588 e04 networking/arping.o
2006-03-31- use RESERVE_CONFIG_BUFFER. For defconfig this gives:Bernhard Reutner-Fischer
text data bss dec hex filename 3627 4 120 3751 ea7 networking/arping.o.oorig 3548 4 96 3648 e40 networking/arping.o.r14710 3520 4 96 3620 e24 networking/arping.o
2006-03-31- shrink it a bit further.Bernhard Reutner-Fischer
text data bss dec hex filename 3627 4 120 3751 ea7 networking/arping.o.oorig 3548 4 96 3648 e40 networking/arping.o
2006-03-30Shrink patch from Bernhard Fischer.Rob Landley
2006-03-222006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of ↵Mike Frysinger
sys/signal.h.
2006-01-30fix up annoying signed/unsigned and mixed type errorsEric Andersen
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2003-09-26Patch by Fillod Stephane, declare variables as static to not clobberGlenn L McGrath
busybox namespace
2003-08-28*** empty log message ***Glenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-09Minor update to arping, patch from Nick FedchikGlenn L McGrath
2003-01-19fix missed option argument for -I <device>, interface name checksGlenn L McGrath
redesigned, patch by Nick Fedchik
2003-01-09arping applet by Nick FedchikGlenn L McGrath