beautypg.com

Summary – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 158

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

How to Navigate through Trace File 158

int nToPacket: End packet index in a layer

SearchDirectionEnum eSearchDirection: Search direction

BOOL bContainGivenFromPacket: Whether start packet is in search or not

BOOL* pFoundItemIsFiltered: Specifies whether found packet is filtered or not

short* piLayerID: Layer ID of found packet

int* pFoundPacketIndexInLayer:– Packet index of found packet

Return Value Boolean that reports if packet is found or not
Description

Call the FindPacket () function of the Serial SCSI Extraction Interface to find a

packet in all or part of a sample file. To search all samples, the start packet index

must be 0, and the end packet index must be -1.

Summary

Navigating through a Trace File involves a stage-by-stage process of Load Trace File and Build

View, Navigate through packets, Filter Packets, and Search/Find packets:

Stages involved in Navigating through

Trace File

Corresponding Function Calls

Load Trace File & Build View
Load a Trace File

Build View for Packet Navigation

CSerialSCSIExtraction::
Open ()

BuildDataView ()
BuildPacketView ()

Navigate through Packets of Trace File
Extract Packet Information



Navigate through Packets

CSerialSCSIExtraction::
SetAssociateLayers ()
ExpandAllPackets ()
GetPacketProperties ()

GotoPacket ()

Filter Packets
Get FilterInfo Interface Handle

Set Filter Information Data


CSerialSCSIExtraction::GetFilterObject

()

IFilterInfo::