beautypg.com

Addprotocolerrortopacket, Assignlable – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 395

background image


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

IExerciserEngine 395

AddProtocolErrorToPacket

BOOL AddProtocolErrorToPacket (

short iLayerID,

int nPacketIndexInLayer,

short iProtocolError);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)


int nPacketIndexInLayer

Index of a packet corresponding to layer ID.


short iProtocolError

Protocol error to assign to a packet.


Return Value
Returns result of method, whether called by valid index or not.

Remark
Adds a protocol error to a packet corresponding to nPacketIndexInLayer and iLayerID

parameters.

See Also

GetPacketProperties