summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-03-02 21:24:08 +0000
committermdodd <mdodd@FreeBSD.org>2003-03-02 21:24:08 +0000
commit8962c4b750a5dfabaada620e52b0982194875b8a (patch)
treeac1ad79bbd040af2d6203c9309f0a46b22ad43b4 /sbin/ping/ping.8
parent41871f8dff463c32e251cd5dd4540980038ab5d2 (diff)
downloadFreeBSD-src-8962c4b750a5dfabaada620e52b0982194875b8a.zip
FreeBSD-src-8962c4b750a5dfabaada620e52b0982194875b8a.tar.gz
Support ICMP_TSTAMP/ICMP_TSTAMPREPLY.
This alters the meaning of the '-M' flag.
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.810
1 files changed, 10 insertions, 0 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index eae6b1e..08f782e 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -46,6 +46,7 @@ packets to network hosts
.Op Fl c Ar count
.Op Fl i Ar wait
.Op Fl l Ar preload
+.Op Fl M Ar mask | time
.Op Fl m Ar ttl
.Op Fl P Ar policy
.Op Fl p Ar pattern
@@ -169,6 +170,15 @@ Set the IP Time To Live for outgoing packets.
If not specified, the kernel uses the value of the
.Va net.inet.ip.ttl
MIB variable.
+.It Fl M Ar mask | time
+Use ICMP_MASKREQ or ICMP_TSTAMP instead of ICMP_ECHO. For
+.Ar mask
+print the netmask of the remote machine. Set the
+.Va net.inet.icmp.maskrepl
+MIB variable to enable ICMP_MASKREPLY.
+For
+.Ar time
+print the origination, reception and transmition timestamps.
.It Fl n
Numeric output only.
No attempt will be made to lookup symbolic names for host addresses.
OpenPOWER on IntegriCloud