l2ping -- send L2CAP ECHO_REQUEST to remote devices
l2ping [-fh] -a BD_ADDR [-c count] [-i delay] [-S BD_ADDR] [-s size]
The l2ping utility uses L2CAP ECHO_REQUEST datagram to elicit an L2CAP
ECHO_RESPONSE from a remote device.
The options are as follows:
-a BD_ADDR
Address of remote device to ping. Example: -a 00:01:02:03:04:05.
-c count
Number of packets to send. If this option is not specified,
l2ping will operate until interrupted.
-f ``Flood'' ping, i.e., no delay between packets.
-h Display usage message and exit.
-i wait
Wait wait seconds between sending each packet. The default is to
wait for one second between each packet. This option is ignored
if -f has been specified.
-S BD_ADDR
Send L2CAP ECHO_REQUEST from local device that has BD_ADDR.
Example: -S 00:05:04:03:02:01.
-s size
Specify the number of payload bytes to be sent. The default is
64. The maximum size is 65531. Use this option with caution.
Some implementations may not like large sizes and may hang or
even crash.
Could collect more statistic. Could check for duplicated, corrupted and
lost packets.
The l2ping utility exits 0 on success, and >0 if an error occurs.
netgraph(3), netgraph(4), ng_l2cap(4), l2control(8)
Maksim Yevmenkin <[email protected]>
FreeBSD 5.2.1 June 14, 2002 FreeBSD 5.2.1 [ Back ] |