summaryrefslogtreecommitdiff
path: root/networking/ping6.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify ping and ping6. ping has -4 and -6 which forceDenis Vlasenko2007-01-241-471/+0
| | | | | | | | name resolution into IP or IPv6 only, otherwise we take address family returned by host2sockaddr() in lsa->sa.sa_family. IOW: "ping ::1" with do IPv6 ping, "ping 127.0.0.1" will do IPv4 ping. ping6 is aliased to "ping -6".
* hostname declaration was misplacedDenis Vlasenko2007-01-241-2/+2
|
* accumulated post-1.4.0 fixesDenis Vlasenko2007-01-241-2/+6
|
* clean up commented out old codeDenis Vlasenko2007-01-221-16/+3
|
* ping6: stop using xgethostbyname2, remove it from libbb.Denis Vlasenko2007-01-221-19/+25
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-10/+7
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* exterminate u_intXXX.Denis Vlasenko2007-01-221-21/+24
| | | | fix ping6 buglet (memset is too short), minor sync between ping and ping6
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-1/+1
|
* fix verbose output; remove commented-out includes.Denis Vlasenko2007-01-111-4/+0
|
* ping6: fix sequence numbers (missed ntoh) and ttl display.Denis Vlasenko2007-01-081-48/+44
| | | | | (apparently some, eh, clever libc guy decided that *CHANGING* IPV6_HOPLIMIT value in libc header is a nifty idea...)
* ping[6]: don't do htons(a++), it can be a macroDenis Vlasenko2007-01-031-1/+2
|
* fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>Denis Vlasenko2006-12-311-3/+4
|
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko2006-11-221-3/+1
| | | | | use them where appropriate. 200 bytes saved
* login: use %s - we know that string is not too long thereDenis Vlasenko2006-11-201-59/+33
| | | | | ping[6]: use getopt32: smaller (-50 bytes) and handles -c6 correctly (was requiring '-c 6' with mandatory space)
* nslookup: make it more IPv6 friendlyDenis Vlasenko2006-10-261-1/+1
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-1/+1
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-8/+8
|
* whitespace cleanupDenis Vlasenko2006-09-171-1/+1
|
* ping(6): use htons instead of SWAP_BE.Denis Vlasenko2006-09-021-3/+3
|
* ping: implement -I optionDenis Vlasenko2006-09-021-2/+0
|
* ping6: resolve interface name to number early.Denis Vlasenko2006-09-021-7/+8
| | | | | gcc is more efficient at truncating int to int16 via cast, use that instead of &.
* Sync ping and ping6 a bit, fix style and indentation.Denis Vlasenko2006-09-021-24/+24
|
* Fix endianness issue in ping6Denis Vlasenko2006-09-021-1/+1
|
* Add one-line GPL boilerplate to these source files."Robert P. J. Day"2006-07-111-13/+1
|
* More removal of "#if 0" content."Robert P. J. Day"2006-07-011-6/+0
|
* Make some 64 bit warnings go away on x86-64.Rob Landley2006-06-191-2/+2
|
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* Patch from KRONSTORFER Horst to Fix a size mismatch in ping, such as the 56/84Rob Landley2006-04-011-2/+2
| | | | | | | mismatch inthe following example: # ping -c 1 172.16.2.1 PING 172.16.2.1 (172.16.2.1): 56 data bytes 84 bytes from 172.16.2.1: icmp_seq=0 ttl=64 time=0.2 ms
* 2006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of ↵Mike Frysinger2006-03-221-1/+1
| | | | sys/signal.h.
* update comments as to what caused the defines to changeMike Frysinger2006-03-131-10/+11
|
* fix building with glibc-2.4Mike Frysinger2006-03-101-0/+10
|
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-7/+9
| | | | the busybox binary) into enums (which don't).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-2/+2
| | | | definitions. (That should only be on prototypes.)
* just whitespaceTim Riker2006-01-251-1/+1
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-7/+7
|
* Patch from Russell Coker:Eric Andersen2003-05-221-2/+3
| | | | | | The attached patch fixes a compilation error. If you compile ping6 without the CONFIG_FEATURE_FANCY_PING6 option then the compile will fail without this patch.
* Major coreutils update.Manuel Novoa III2003-03-191-16/+16
|
* Kiss Gabor noticed that ping compiled without BB_FEATURE_FANCY_PINGEric Andersen2003-01-121-7/+6
| | | | would return 0 instead of EXIT_FAILURE when no response was received.
* use #ifdef instead of #ifGlenn L McGrath2002-11-261-3/+3
|
* This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen2002-07-031-0/+515
IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart!