Commit Graph

49 Commits

Author SHA1 Message Date
wiz 51f435b8eb Sort options and descriptions in standard order.
Remove unecessary Bk/Ek in SYNOPSIS.
2011-09-10 20:46:43 +00:00
christos e8ad09e0b7 PR/45257: Instead of passing a 32bit sec and 32 bit usec timestamp in little
endian format by default, pass a struct timespec in native host format. Add
-C flag to produce a compatible timestamp like before.
2011-09-10 20:04:28 +00:00
pavel d8e5c31820 Clarify and correct the description of the -R (Record Route) flag.
Reviewed by jnemeth, whith help from him.
2006-03-21 22:54:46 +00:00
pavel c38d26c2d6 Bump date, requested by wiz. 2006-03-21 09:54:12 +00:00
pavel 104eb3fa9f -I does work for unicast pings too (it sets the source address).
With some language help from dsl.
Reviewed by jnemeth.
2006-03-21 09:15:53 +00:00
cjep 721eb939af add -h option in synopsis. Fixes PR#25863 from Kouichirou Hiratsuka. 2004-06-08 08:05:30 +00:00
agc 276d62f603 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jdolecek f5b83162de change description of -w option to match reality
this fixes bin/12113 by Jim Bernard and bin/16011 by gabriel rosenkoetter
2002-10-26 12:06:04 +00:00
wiz 2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
bjh21 be27950398 .Nm . -> .Nm "" . 2002-04-06 15:49:30 +00:00
wiz 02b65f0c5c Sync options with usage. 2001-12-20 20:23:09 +00:00
wiz f8379a3c43 Simplify markup, use .Nx, sort sections. 2001-11-16 12:05:38 +00:00
wiz 4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
yamt 01f308933f - use IP_MAXPACKET instead of 65535.
- change max packet size from 65468 to 65467(= IP_MAXPACKET-60-8).
2001-10-10 15:58:04 +00:00
jhawk 18883403cb Update Dd to rev 1.31 (ipsec changes)
Some hosts and gateways ignore record route, but not "many." Of course,
  more are firewalled. But that's not what was meant here.
Expand flood-pinging admonition to include multicast addresses.
Note flags that conflict with ping under Solaris and FreeBSD.
Reorder BUGS in rough order of significance.
2001-06-25 01:12:53 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
jhawk 1277f0fe42 Xr icmp(4), inet(4), ip(4) 2001-04-03 14:00:09 +00:00
itojun 909714f4a5 IPsec support (specify policy on ping - quite useful to test
if IPsec is working or not) is added.
1999-07-02 04:53:23 +00:00
sommerfeld 6c3d02c865 Support for ping -a: beep when packet received.
Slightly tweaked from version submitted by andrew@untraceable.net in PR7815
1999-06-19 19:15:22 +00:00
tron bb880545b1 Fix a typo. 1999-06-12 17:17:16 +00:00
mjl 144e7d3345 Remove duplicate paragraph. Closes PR/7498 by Geoff C. Wing. 1999-04-29 21:53:08 +00:00
mycroft f6590b22cd Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
jtk f7514cc95c typo: should be loose source routing 1998-12-22 16:36:41 +00:00
msaitoh 91395a8690 delete .TP (because this document is written in "mdoc" format) 1998-11-17 21:02:38 +00:00
christos 99c0436391 Update to the 980911 version from ftp.rhyolite.com:/src/ping.tar.Z 1998-10-25 13:51:31 +00:00
tv 8f7ed4aa27 Restrict -l to the superuser as suggested in PR 3973 from <soren@t.dk>.
Also distinguish "-f" from "-i 0.x" in the superuser restriction messages.
1998-09-14 17:08:55 +00:00
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
perry 34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +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
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
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
christos 217f82764f PR/3329: From David Jones: Add F_ONCE 1997-03-18 19:06:51 +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
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
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +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
mycroft 3c78ef3311 Merge with 4.4-Lite version. 1994-09-23 01:38:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +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