P4_CAPTURE_GET_FIRST

# get
<module-index>/<port-index> P4_CAPTURE_GET_FIRST ?

Description

Returns the first captured frame on the port. Command is only valid when port is

in state STOPPED

Actions

get

Parameters

index: integer, the first captured frame on the port

second: integer, the first captured frame on the port

microsecond: integer, the first captured frame on the port

capture_length: integer, the first captured frame on the port

frame_length: integer, the first captured frame on the port

frame: hex list, the first captured frame on the port

Example

# get
input:  0/1 P4_CAPTURE_GET_FIRST ?
output: 0/1 P4_CAPTURE_GET_FIRST 0 6325709 706541 60 60 0xFFFFFFFFFFFF04F40A0002010806....