aboutsummaryrefslogtreecommitdiff
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authorMaxim Konovalov <maxim@FreeBSD.org>2003-01-23 12:48:12 +0000
committerMaxim Konovalov <maxim@FreeBSD.org>2003-01-23 12:48:12 +0000
commit0b2f8b3f68ed523a508bf47ca61a30c0d65f82fb (patch)
tree18e5992019a67e339750ff6a63eb4a6395a78268 /sbin/ping/ping.8
parentcb75aca7cd7b80163a6a87e04a5892e28e06672d (diff)
downloadsrc-0b2f8b3f68ed523a508bf47ca61a30c0d65f82fb.tar.gz
src-0b2f8b3f68ed523a508bf47ca61a30c0d65f82fb.zip
Implement -D (do not fragment) and -z (TOS) options.
PR: bin/29164 Reviewed by: silence of -net Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=109731
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.87
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index c371907ae93e..105e5f1f1fda 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -42,7 +42,7 @@
packets to network hosts
.Sh SYNOPSIS
.Nm
-.Op Fl AQRadfnoqrv
+.Op Fl ADQRadfnoqrv
.Op Fl c Ar count
.Op Fl i Ar wait
.Op Fl l Ar preload
@@ -52,6 +52,7 @@ packets to network hosts
.Op Fl s Ar packetsize
.Op Fl S Ar src_addr
.Op Fl t Ar timeout
+.Op Fl z Ar tos
.Bo
.Ar host |
.Op Fl L
@@ -111,6 +112,8 @@ will operate until interrupted.
Set the
.Dv SO_DEBUG
option on the socket being used.
+.It Fl D
+Set the Don't Fragment bit.
.It Fl f
Flood ping.
Outputs packets as fast as they come back or one hundred times per second,
@@ -252,6 +255,8 @@ Verbose output.
packets other than
.Tn ECHO_RESPONSE
that are received are listed.
+.It Fl z Ar tos
+Use the specified type of service.
.El
.Pp
When using