rds-ping Subroutine
Purpose
Tests the reachability of the remote node over Reliable Datagram Sockets (RDS).
Syntax
rds-ping
[-ccount
][-iinterval
][-Ilocal_addr
]remote_addr
Description
The rds-ping utility is used to test whether a remote node is reachable over RDS. The RDS interface is designed to operate like the standard ping utility, with a difference. The rds-ping utility opens several RDS sockets and sends packets to port 0 on the specified host. This port is a special port number to which no socket is bound to, and the kernel processes the incoming packets and responds to them.
Parameters
Item | Description |
---|---|
-c count |
Causes the rds-ping utility to exit after the specified number of packets are sent and received. |
-I address |
Accepts the local source address for the RDS
socket that is based on the routing information for the specified
destination address. For example, if packets to a specific destination
are routed through the ib0 interface, it uses the IP address
of ib0 as the source address. By using the -I option,
you can override this choice. |
-i timeout |
Waits for one second between sending packets,
by default. Use this option to specify a different interval. The timeout
value is given in seconds, and can be a floating point number. Optionally,
append the msec or usec parameter
to specify the timeout in milliseconds or microseconds. Note: If you
specify a timeout that is considerably smaller than the packet round-trip
time, it produces unexpected results.
|