PS_PINGREQUEST#

code: 162

# get
<module-index>/<port-index> PS_PINGREQUEST [<stream_index>] ?

Description#

Generates an outgoing ping request using the ICMP protocol on the test port. The packet header for the stream must contain an IP protocol segment, with valid source and destination IP addresses. The framing of the ping request matches the packet header, including any VLAN protocol segments, and the destination MAC address must also be valid, possibly containing a value obtained with PS_ARPREQUEST. This command does not generate an immediate result, but waits until a ping reply is received on the test port.

Actions#

get

Parameters#

  1. delay: integer, the number of milliseconds for the ping reply to arrive.

  2. time_to_live: short integer, the time-to-live value in the ping reply packet.

Example#

# get
input:  0/1 PS_PINGREQUEST [0] ?
output: 0/1 PS_PINGREQUEST [0] 1 123