P4_CAPTURE_GET_NEXT

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

Description

Returns the next captured frame on the port. Command is only valid when port is in state STOPPED

Actions

get

Parameters

index: integer, the next captured frame on the port

second: integer, the next captured frame on the port

microsecond: integer, the next captured frame on the port

capture_length: integer, the next captured frame on the port

frame_length: integer, the next captured frame on the port

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

Example

# get
input:  0/1 P4_CAPTURE_GET_NEXT ?
output: 0/1 P4_CAPTURE_GET_NEXT 1 6325709 706551 42 42 0x04F40A00020104F40A0F00000806...