Commit Graph

49 Commits

Author SHA1 Message Date
fair
3d7afc6d03 fix bad .Xr references 1998-04-29 09:49:10 +00:00
fair
dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
kleink
6913d5696a Take into consideration that icmp_nextmtu is stored in network byte order;
from Leonard Samuelson in PR bin/5230.
1998-04-16 09:02:56 +00:00
perry
34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
christos
764e7492a8 PR/4615: David Jones: Ping usage does not show -o option. 1997-12-01 08:41:48 +00:00
christos
89e0b4d7e4 Make the "failed to clear cached route" a warning only if verbose is set.
This always happens when lo0 is not configured and confuses new users.
1997-11-30 22:33:30 +00:00
fair
994948ff88 Fix man page confusion about the -R option, per PR#4246
Add some paragraph breaks for readability,
and a traceroute(8) reference.
1997-11-06 10:07:33 +00:00
cgd
1c9d9590f6 lint 1997-11-05 21:29:29 +00:00
hubertf
d616097cd1 PR misc/4206: internal -> interval;
Reported by William O Ferry.
1997-10-03 00:55:28 +00:00
lukem
e464b5f452 * cleanup .Nm
* deprecate register
* cleanup for WARNS=1
* bzero(), bcopy() -> memset(), memmove()
* prefix hex numbers with '0x'
1997-09-15 07:21:09 +00:00
mikel
24af6eac72 convert to host byte order when printing stats of received ICMP
packets other than echo-replies; from Dave Huang in PR bin/3876
1997-07-17 06:39:46 +00:00
kleink
0505614d4e Fix formatting directives; from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp>
in PR misc/3795.
1997-06-26 20:23:44 +00:00
christos
01bf6a0596 Update from Vernon Schryver, fixing the kluge to flush the route cache. 1997-06-01 19:34:46 +00:00
mikel
54d02ddfb0 flag is -f, not --f; from Saitoh Masanobu in PR misc/3469. 1997-04-10 06:16:06 +00:00
augustss
525bca97ff Make ping obey the -n flag in places. 1997-04-02 09:22:01 +00:00
christos
794ba0d372 Don't allow < 1 sec ping interval to regular users. 1997-03-24 03:34:26 +00:00
christos
9c21b4d7f9 Try adding `o' option again; connection died. 1997-03-19 12:44:08 +00:00
christos
3696ff03af Take care of alignment problems on the alpha: From John Birell, via cgd. 1997-03-19 12:36:03 +00:00
christos
217f82764f PR/3329: From David Jones: Add F_ONCE 1997-03-18 19:06:51 +00:00
christos
9ee27f02a1 Fix PR/3327: rcvd_tbl index was assumed to be in host order, creating
incorrect dup reports. From enami tsugutomo
1997-03-13 16:19:10 +00:00
christos
fe4e4bb7a5 - remove -g from Makefile
- fix setsockopt and recvfrom casts.
1997-03-11 21:53:41 +00:00
christos
203dfd3486 - Use err, warn, errx
- Don't use floor, because we would need libm
- Add maxwait option from old ping
- Add a centralized gethost() to get hostnames
- Fix PR/1014 and PR/2017; (adds -D, -T options, and -I and -t for unicast)
- Document exit status
1997-03-11 21:22:49 +00:00
cgd
b292e6cefd make ping(8) print out statistics when given a SIGINFO. 1996-11-06 20:42:14 +00:00
ghudson
8eedfc4a5d The maxwait option was accidentally placed in the "options for
multicast pings" section of the description.
1995-12-31 04:55:35 +00:00
pk
db3185152f Fix typo (from Mark Weaver PR#1556); 1995-10-02 19:47:11 +00:00
cgd
705e61651e fix a couple of bugs pointed out by John Birrell, though fix some
differently he did.  (1) don't assume that the timeval in
the packet is correctly aligned, (2) don't compare beyond the end
of the packet, (3) minor cast for printf happiness.
1995-08-11 22:37:58 +00:00
ghudson
34f94f0c70 Add and document options -w (to specify a maximum wait timeout, useful
for testing network interfaces) and -S (to specify a source address
on a machine with multiple interfaces).
1995-07-27 23:49:07 +00:00
jtc
68ad3878b1 sys/signal.h -> signal.h 1995-06-26 23:26:23 +00:00
mycroft
27093b3eba Fill in sin_len. 1995-06-03 23:23:52 +00:00
mycroft
6d4cde278d Use inet_aton(), not inet_addr(). 1995-05-21 01:18:03 +00:00
cgd
dfb2f56868 if no packets were received, exit with status 1. this should be
documented somewhere.  As suggested by Rens Troost.
1995-04-22 15:27:08 +00:00
mycroft
ffe9a4ccf0 Update to use timer{add,sub}(). 1995-03-21 13:55:23 +00:00
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd
06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
cgd
c9117f53b5 -Wall cleanups from Jim Jegers 1994-12-18 00:15:01 +00:00
glass
3ec23014c1 misc/596: fix from James Jegers for missing host and add cross ref to spray. 1994-11-29 20:41:06 +00:00
cgd
568f59eb00 will need <sys/queue.h> 1994-10-31 04:34:56 +00:00
mycroft
4922d725cf Remove some more uses of obsolete functions. 1994-09-23 23:48:10 +00:00
mycroft
ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00
mycroft
3c78ef3311 Merge with 4.4-Lite version. 1994-09-23 01:38:45 +00:00
hpeyerl
93855d31e9 Another multicast patch.
>From LBL and Steve Mccanne
1993-12-15 04:46:13 +00:00
mycroft
262cbdab66 Use doubles to rather than longs to avoid tsum overflowing so quickly. 1993-09-23 23:03:55 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft
1fb80e5b34 Add RCS identifiers. 1993-08-01 05:26:30 +00:00
cgd
beb4553725 have ping do the right thing, wrt microseconds.
actually, now it'll overflow its counters sooner than before, and everything
should *really* be converted to doubles and/or "unsigned long long"s
1993-07-22 09:49:57 +00:00
cgd
06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd
346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00