Gettype, Getpayload – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 86

Advertising
background image

Classes of the C++ Interface

Methods of the IGCPacket Class

2-64

CATC IBTrainer InfiniBand Exerciser API Reference

GetType

ig_int32 GetType ( void ) const;

Returns the type of packet. Five predefined packet types can be
returned. You can add your own definitions as required.

The packet type. Valid values are:
PACKET_UNDEFINED

PACKET_IBATRANSPORT

PACKET_RAW

PACKET_RAWIPV6

PACKET_IBAMAD

PACKET_IBASMP

None

None

GetPayload

virtual void GetPayload (OUT IGCBuffer & bufPld) const;

Returns the payload of packet.

None

bufPld: Buffer in which payload data will be stored

SetPayload

Call

Description

Return Value

Parameters

See also

Call

Description

Return Value

Parameters

See also

Advertising