summaryrefslogtreecommitdiff
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1998-11-28 19:56:38 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1998-11-28 19:56:38 +0000
commitcd366aedac3a1a3126d77df58d0a0861c63e8147 (patch)
tree4ddb2966604fee83a4b374b411294c1952e0a4ad /sbin/ping/ping.8
parentb77e710b77930242c29b776114492ab08aa2f1c9 (diff)
kill redundant .Nm macro arguments; other misc fixes
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.822
1 files changed, 11 insertions, 11 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index a2df22ef72f..82960b3b628 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ping.8,v 1.10 1998/11/11 22:19:59 aaron Exp $
+.\" $OpenBSD: ping.8,v 1.11 1998/11/28 19:56:31 aaron Exp $
.\" $NetBSD: ping.8,v 1.10 1995/12/31 04:55:35 ghudson Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
@@ -43,7 +43,7 @@
.Tn ICMP ECHO_REQUEST
packets to network hosts
.Sh SYNOPSIS
-.Nm ping
+.Nm
.Op Fl dfLnqRrv
.Op Fl c Ar count
.Op Fl I Ar ifaddr
@@ -56,7 +56,7 @@ packets to network hosts
.Op Fl w Ar maxwait
.Ar host
.Sh DESCRIPTION
-.Nm ping
+.Nm
uses the
.Tn ICMP
protocol's mandatory
@@ -123,7 +123,7 @@ option.
If
.Ar preload
is specified,
-.Nm ping
+.Nm
sends that many packets as fast as possible before falling into its normal
mode of behavior. Only root may set a preload value.
.It Fl n
@@ -153,7 +153,7 @@ the route buffer on returned packets.
Note that the IP header is only large enough for nine such routes.
If more routes come back than should, such as due to an illegal spoofed
packet,
-.Nm ping
+.Nm
will print the route list and then truncate it at the correct
spot. Many hosts ignore or discard this option.
.It Fl r
@@ -202,7 +202,7 @@ requests.
.El
.Pp
When using
-.Nm ping
+.Nm
for fault isolation, it should first be run on the local host to verify
that the local network interface is up and running.
Then, hosts and gateways further and further away should be
@@ -219,7 +219,7 @@ a brief summary is displayed.
This program is intended for use in network testing, measurement and
management.
Because of the load it can impose on the network, it is unwise to use
-.Nm ping
+.Nm
during normal operations or from automated scripts.
.Sh ICMP PACKET DETAILS
An IP header without options is 20 bytes.
@@ -243,13 +243,13 @@ will always be 8 bytes more than the requested data space
header).
.Pp
If the data space is at least eight bytes large,
-.Nm ping
+.Nm
uses the first eight bytes of this space to include a timestamp which
it uses in the computation of round trip times.
If less than eight bytes of pad are specified, no round trip times are
given.
.Sh DUPLICATE AND DAMAGED PACKETS
-.Nm ping
+.Nm
will report duplicate and damaged packets.
Duplicate packets should never occur, and seem to be caused by
inappropriate link-level retransmissions.
@@ -259,7 +259,7 @@ always be cause for alarm.
.Pp
Damaged packets are obviously serious cause for alarm and often
indicate broken hardware somewhere in the
-.Nm ping
+.Nm
packet's path (in the network or in the hosts).
.Sh TRYING DIFFERENT DATA PATTERNS
The (inter)network layer should never treat packets differently depending
@@ -323,7 +323,7 @@ or
.Xr ftp 1 .
.Pp
In normal operation,
-.Nm ping
+.Nm
prints the TTL value from the packet it receives.
When a remote system receives a ping packet, it can do one of three things
with the