aboutsummaryrefslogtreecommitdiff
path: root/ping.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This is vodz' latest patch. Sorry it took so long...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) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow featureless ping to compile, and featureful ping to shrinkkraai2001-07-131-16/+3
| | | | | | | (by Adam Slattery). git-svn-id: svn://busybox.net/trunk/busybox@3095 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz:andersen2001-07-121-7/+3
| | | | | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function git-svn-id: svn://busybox.net/trunk/busybox@3078 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugandersen2001-05-211-4/+4
| | | | | | | #1130 (i.e. When you turn on features it should always ADD features) git-svn-id: svn://busybox.net/trunk/busybox@2690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Whoops. Forgot the x.kraai2001-05-161-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2655 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add xgethostbyname and herror_msg* functions.kraai2001-05-161-14/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update how we detect if libc5 is in use.andersen2001-04-091-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2292 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix socklen_t for libc5andersen2001-03-141-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2066 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-311-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the warning messages. By consensus, netkit-tiny doesn'tandersen2001-01-241-5/+1
| | | | | | | need to happen. git-svn-id: svn://busybox.net/trunk/busybox@1646 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix spelling. s/maintainence/maintenance/andersen2001-01-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-9/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Warn about apps that will be going away in release 0.50andersen2001-01-221-1/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1636 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use busybox error handling functions wherever possible.kraai2000-12-221-19/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change calls to error_msg.* and strerror to use perror_msg.*.kraai2000-12-181-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1466 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-9/+9
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the BSD advertising clause, and replace it with a link to howandersen2000-11-141-5/+5
| | | | | | | the advertising clause has been retroactivly declared null and void. git-svn-id: svn://busybox.net/trunk/busybox@1303 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Return failure if ping gets no response.kraai2000-09-201-2/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1074 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-18/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More cleanups.andersen2000-07-141-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-9/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always report the applet name when doing error reporting.kraai2000-07-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@831 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcandersen2000-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 git-svn-id: svn://busybox.net/trunk/busybox@795 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Turned some stuff into features that really are features, not apps.andersen2000-07-061-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Made ping work with libc5 and libc6.andersen2000-06-191-2/+84
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@667 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implemented "ping -s", fixed error messages and argument parsingproski2000-06-071-25/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@627 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-121-5/+12
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Several more updateserik2000-04-251-8/+30
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More Doc updates. cmdedit and more termio fixes.erik2000-04-211-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More doc updates for BusyBox, with fixes to apps for bugs revealederik2000-04-131-7/+5
| | | | | | | | while trying to write docs . :-) -Erik git-svn-id: svn://busybox.net/trunk/busybox@451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-294/+324
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-2/+3
| | | | | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor change. init now uses dup2.erik2000-01-291-3/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* copy fixes to simplify link copying and always do the right thing.erik2000-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 git-svn-id: svn://busybox.net/trunk/busybox@346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount and umount could leak loop device allocations causing the system toerik2000-01-261-4/+5
| | | | | | | | quickly run out. Also disable init's SIGHUP handler during shutdown. -Erik git-svn-id: svn://busybox.net/trunk/busybox@341 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ok, so this is reallt 0.38...andersen1999-12-111-41/+123
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@216 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tail now works (costs 6k). Several other updates.andersen1999-12-091-27/+23
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@179 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatestandersen1999-12-081-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-12-081-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixesandersen1999-12-081-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-12-071-0/+374
git-svn-id: svn://busybox.net/trunk/busybox@168 69ca8d6d-28ef-0310-b511-8ec308f3f277