summaryrefslogtreecommitdiff
path: root/networking/ping.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-5/+5
|
* Remove remaining libc5 support codeEric Andersen2003-07-221-80/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-13/+13
|
* Kiss Gabor noticed that ping compiled without BB_FEATURE_FANCY_PINGEric Andersen2003-01-121-2/+2
| | | | would return 0 instead of EXIT_FAILURE when no response was received.
* Per discussion with vodz, Tim's changes do not seem to make sense.Eric Andersen2002-06-061-5/+5
| | | | | Revert them. -Erik
* ping return 1 if can't pingTim Riker2002-05-181-5/+5
|
* Doh! I broke ping when removing the nested function.Eric Andersen2002-03-211-4/+4
| | | | This patch from vodz fixes it again.
* Cave to pressure (2 months later). Eliminate using aEric Andersen2002-03-201-7/+8
| | | | | nested function, which is a purely unremovable gcc-ism... -Erik
* 2002-01-30 Neal H Walfield <neal@cs.uml.edu>Matt Kraai2002-02-011-23/+18
| | | | | | | | | | | | | | | | | | | | | * networking/ping.c (hostname): Removed. [CONFIG_FEATURE_FANCY_PING] (noresp): Moved from here . . . [CONFIG_FEATURE_FANCY_PING] (ping:noresp): . . . to here. Use H->h_name, not hostname. [CONFIG_FEATURE_FANCY_PING] (ping): Do not copy H->h_name into hostname. Use H->h_name directly. [!CONFIG_FEATURE_FANCY_PING] (hostent): New global variable. [!CONFIG_FEATURE_FANCY_PING] (pingstats): Use hostent in favor of the now obsolete hostname global variable. [!CONFIG_FEATURE_FANCY_PING] (ping): Likewise. No need to copy H; use hostent instead. [!CONFIG_FEATURE_FANCY_PING] (ntransmitted, nreceived, nrepeats, pingcount, myid, options, tmax, tsum): Removed superfluous zero initializers.
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-4/+4
| | | | -Erik
* This is vodz' latest patch. Sorry it took so long...Eric Andersen2001-07-171-2/+1
| | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
* Allow featureless ping to compile, and featureful ping to shrinkMatt Kraai2001-07-131-16/+3
| | | | (by Adam Slattery).
* Patch from vodz:Eric Andersen2001-07-121-7/+3
| | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen2001-05-211-4/+4
| | | | #1130 (i.e. When you turn on features it should always ADD features)
* Whoops. Forgot the x.Matt Kraai2001-05-161-2/+2
|
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-161-14/+5
|
* Update how we detect if libc5 is in use.Eric Andersen2001-04-091-2/+2
| | | | -Erik
* Fix socklen_t for libc5Eric Andersen2001-03-141-3/+1
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-2/+2
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-6/+6
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-7/+7
|
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-1/+4
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Remove the warning messages. By consensus, netkit-tiny doesn'tEric Andersen2001-01-241-5/+1
| | | | need to happen.
* Fix spelling. s/maintainence/maintenance/Eric Andersen2001-01-241-2/+2
|
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-9/+11
|
* Warn about apps that will be going away in release 0.50Eric Andersen2001-01-221-1/+5
| | | | -Erik
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-19/+11
|
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-2/+2
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-9/+9
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-3/+3
|
* Remove the BSD advertising clause, and replace it with a link to howEric Andersen2000-11-141-5/+5
| | | | the advertising clause has been retroactivly declared null and void.
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-2/+2
| | | | -Erik
* Return failure if ping gets no response.Matt Kraai2000-09-201-2/+8
|
* Extract usage information into a separate file.Matt Kraai2000-07-161-18/+1
|
* More cleanups.Eric Andersen2000-07-141-4/+4
| | | | -Erik
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-9/+7
|
* Always report the applet name when doing error reporting.Matt Kraai2000-07-121-2/+2
|
* More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcEric Andersen2000-07-091-2/+2
| | | | | | (except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
* Turned some stuff into features that really are features, not apps.Eric Andersen2000-07-061-4/+4
| | | | -Erik
* Made ping work with libc5 and libc6.Eric Andersen2000-06-191-2/+84
| | | | -Erik
* Implemented "ping -s", fixed error messages and argument parsingPavel Roskin2000-06-071-25/+32
|
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-5/+12
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* Several more updatesErik Andersen2000-04-251-8/+30
| | | | -Erik
* More Doc updates. cmdedit and more termio fixes.Erik Andersen2000-04-211-3/+3
|
* More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen2000-04-131-7/+5
| | | | | while trying to write docs . :-) -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-294/+324
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-2/+3
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
* Minor change. init now uses dup2.Erik Andersen2000-01-291-3/+6
| | | | -Erik
* copy fixes to simplify link copying and always do the right thing.Erik Andersen2000-01-291-8/+4
| | | | | | ping could segfault because I'm an idiot, and tried to put a value in where I hadn't allocated storage. choke. -Erik
* mount and umount could leak loop device allocations causing the system toErik Andersen2000-01-261-4/+5
| | | | | quickly run out. Also disable init's SIGHUP handler during shutdown. -Erik