diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-01-28 22:53:24 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-01-28 22:53:24 +0000 |
commit | b159341ed957acbcab2f9bdd46c0b82ecd2e7864 (patch) | |
tree | 4102170c423df0a696d18d43b3da50646dd60462 /sbin/ping/ping.8 | |
parent | 88b86d19fbf893333c3a2db046d5cb8d0b10bdea (diff) | |
download | FreeBSD-src-b159341ed957acbcab2f9bdd46c0b82ecd2e7864.zip FreeBSD-src-b159341ed957acbcab2f9bdd46c0b82ecd2e7864.tar.gz |
Send ICMP_MASKREQ packets when the '-M' option is specified.
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r-- | sbin/ping/ping.8 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8 index 5aa26fa..5efdcdf 100644 --- a/sbin/ping/ping.8 +++ b/sbin/ping/ping.8 @@ -42,7 +42,7 @@ packets to network hosts .Sh SYNOPSIS .Nm -.Op Fl ADQRadfnoqrv +.Op Fl ADQRadfMnoqrv .Op Fl c Ar count .Op Fl i Ar wait .Op Fl l Ar preload @@ -152,14 +152,19 @@ is specified, sends that many packets as fast as possible before falling into its normal mode of behavior. Only the super-user may use this option. +.It Fl L +Suppress loopback of multicast packets. +This flag only applies if the ping destination is a multicast address. .It Fl m Ar ttl 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 L -Suppress loopback of multicast packets. -This flag only applies if the ping destination is a multicast address. +.It Fl M +Use ICMP_MASKREQ instead of ICMP_ECHO. Print the netmask of the remote +machine. Set the +.Va net.inet.icmp.maskrepl +MIB variable to enable ICMP_MASKREPLY. .It Fl n Numeric output only. No attempt will be made to lookup symbolic names for host addresses. |