PC_EXTRA

code: 225

# get
<module-index>/<port-index> PC_EXTRA [<capture_packet_index>] ?

Description

Obtains extra information about a captured packet for a port. The information comprises time of capture, latency, inter-frame gap, and original packet length. Latency is only valid for packets with test payloads and where the originating port is on the same module and therefore has the same clock.

Actions

get

Parameters

  1. time_captured: long integer, time of capture.

  2. latency: long integer, the number of nanoseconds since the packet was transmitted.

  3. byte_time_count: long integer, the number of byte-times since previous packet.

  4. length: integer, the real length of the packet on the wire.

Example

# get
input:  0/1 PC_EXTRA [0] ?
output: 0/1 PC_EXTRA [0] 123456789123 123456789123 123456789123 1