beautypg.com

Erinjsetinsertedframeattribute, Erinjsetinsertprimitive – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 727

background image


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

ITargetEmulEngine 727

ErInjSetInsertedFrameAttribute

ErInjSetInsertedFrameAttribute (

short iLayerId,

int nCommand,

InsertedFrameStatusEnum eInsertedFrameStatus,

int nInsertedFrameType,

int* pnRetVal);


Inputs
short iLayerId

Layer ID of a packet (see

SASLayerEnum

)

int nCommand

Command type corresponding to layer ID.

(see

SCSICommandsEnum

,

SMPFrameFunctionsEnum

,

CommandTypeEnum

,

SSPTaskManagmentEnum

)

InsertedFrameStatusEnum eInsertedFrameStatus Status of insert frame feature,

after or before a frame.

int nInsertedFrameType

Type of insert frame feature for a frame.

int* pnRetVal

Result of method, whether called by valid

index and layer ID or not or other errors.


Return Value
None.

Remark
Sets insert frame feature such as status (before, after) and frame type for an outgoing frame of

a command.
NOTE
: Call this method only for the SCSI, SMP, Task, or ATA command packet and transport

packet.


See Also

ErInjGetInsertedFrameAttribute