summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-08-07 15:48:51 +0000
committerru <ru@FreeBSD.org>2001-08-07 15:48:51 +0000
commit43457588767caedd16dbf19162de0a6a435dfeda (patch)
tree0505e005ecc9492a4b759dc8e06eb138613e4aa4 /sbin/ping/ping.8
parent6b00d6a3ebd552afe7b0a0844e598ee70810f887 (diff)
downloadFreeBSD-src-43457588767caedd16dbf19162de0a6a435dfeda.zip
FreeBSD-src-43457588767caedd16dbf19162de0a6a435dfeda.tar.gz
mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.833
1 files changed, 17 insertions, 16 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index c95f231..2d8110d 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -82,19 +82,21 @@ bytes used to fill out the packet. The options are as follows:
.It Fl A
Audible.
Include a bell
-.Pq ASCII 0x07
+.Tn ( ASCII
+0x07)
character in the output when no packet is received before the next packet
is transmitted.
.It Fl a
Audible.
Include a bell
-.Pq ASCII 0x07
+.Tn ( ASCII
+0x07)
character in the output when any packet is received.
This option is ignored
if other format options are present.
.It Fl c Ar count
Stop after sending
-.Pq and receiving
+(and receiving)
.Ar count
.Tn ECHO_RESPONSE
packets.
@@ -214,10 +216,8 @@ network.
If the host is not on a directly-attached network, an error is returned.
This option can be used to ping a local host through an interface
that has no route through it
-.Po
-e.g., after the interface was dropped by
-.Xr routed 8
-.Pc .
+(e.g., after the interface was dropped by
+.Xr routed 8 ) .
.It Fl s Ar packetsize
Specify the number of data bytes to be sent.
The default is 56, which translates into 64
@@ -259,7 +259,7 @@ If duplicate packets are received, they are not included in the packet
loss calculation, although the round trip time of these packets is used
in calculating the round-trip time statistics.
When the specified number of packets have been sent
-.Pq and received
+(and received)
or if the program is terminated with a
.Dv SIGINT ,
a brief summary is displayed, showing the number of packets sent and
@@ -282,12 +282,14 @@ header followed by an arbitrary amount of data.
When a
.Ar packetsize
is given, this indicated the size of this extra piece of data
-.Pq the default is 56 .
+(the default is 56).
Thus the amount of data received inside of an IP packet of type
.Tn ICMP
.Tn ECHO_REPLY
will always be 8 bytes more than the requested data space
-.Pq the Tn ICMP header .
+(the
+.Tn ICMP
+header).
.Pp
If the data space is at least eight bytes large,
.Nm
@@ -302,7 +304,7 @@ Duplicate packets should never occur when pinging a unicast address,
and seem to be caused by
inappropriate link-level retransmissions.
Duplicates may occur in many situations and are rarely
-.Pq if ever
+(if ever)
a good sign, although the presence of low levels of duplicates may not
always be cause for alarm.
Duplicates are expected when pinging a broadcast or multicast address,
@@ -359,12 +361,10 @@ specification states that the
field for
.Tn TCP
packets should be set to 60, but many systems use smaller values
-.Po
-.Bx 4.3
+.No ( Bx 4.3
uses 30,
.Bx 4.2
-used 15
-.Pc .
+used 15).
.Pp
The maximum possible value of this field is 255, and most
.Ux
@@ -430,7 +430,8 @@ heard from the specified
.Ar host ;
a status of two if the transmission was successful but no responses
were received; or another value
-.Pq from Aq Pa sysexits.h
+(from
+.Aq Pa sysexits.h )
if an error occurred.
.Sh SEE ALSO
.Xr netstat 1 ,
OpenPOWER on IntegriCloud