PC_KEEP
code: 222
# set
<module-index>/<port-index> PC_KEEP <type> <index> <byte_count>
# get
<module-index>/<port-index> PC_KEEP ?
Description
Which packets to keep once the start criteria has been triggered for a port. Also how big a portion of each packet to retain, saving space for more packets in the capture buffer.
Actions
set, get
Parameters
type
: integer, which general types of packets to keep
ALL = 0
FCSERR = 1
NOTPLD = 2
TPLD = 3
FILTER = 4
PLDERR = 5
Example
# set
input: 0/1 PC_KEEP ALL 1 1
output: <OK>
# get
input: 0/1 PC_KEEP ?
output: 0/1 PC_KEEP ALL 1 1