beautypg.com

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

Page 825

background image


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

ISerialSCSIExtraction 825

GetPacketProperties

Void GetPacketProperties (

int nPacketIndex,

short* pLayerID,

int* pFieldNumber,

BOOL* pExpandable,

BOOL* pIsExpanded,

BYTE* pLayerLevel,

int* PacketIndexInLayer,

BYTE* pPacketDirection,

VARIANT* pStartTime,

VARIANT* pvtRelativeTime,

long* pIdleTime,

long* pDurationTime,

BOOL* pHasBookmark,

short* piNumberOfPErrors,

VARIANT* pvtPErrorCodeList,

BOOL* pbRetVal);


Inputs
int nPacketIndex

Index of a visible packet and a packet, zero based and just for

visible packets. Visible packets are expanded and not-filtered

packets.

short* pLayerID

Layer ID of the packet. (see

SAS Layer definition

)

int* pFieldNumber

Number of fields in a packet.

BOOL* pExpandable

Expandability of the packet.

BOOL* pIsExpanded

Is packet expanded or collapsed.

BYTE* pLayerLevel

Level of the packet in view, for example, in sample, Link and

Transport layer:

Transport packet is in level zero, and Link packet is in level one.

int* PacketIndexInLayer

Index of packet in its layer.

BYTE* pPacketDirection

Packet direction.

VARIANT* pStartTime

Start time of packet.

VARIANT* pvtRelativeTime Relative time of packet.
long* pIdleTime

Idle time of packet.

long* pDurationTime

Duration time of packet.

BOOL* pHasBookmark

Packet has bookmark or not.