Packetinit, Packetsend – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 55

Advertising
background image

Methods of the IGCGenerator Class

Classes of the C++ Interface

CATC IBTrainer InfiniBand Exerciser API Reference

2-33

PacketInit

void PacketInit ( IN IGCPacket & packet );

This method initializes a packet with all the global properties available
to the generator (source lid, source gid, and so on). If you do not use this
method, you must set the packet header information by some other
means. Note, that the generator is capable of sending out uninitialized
packets, but such packets do not conform to the InfiniBand
specification.

None

packet

The packet to be initialized.

None

PacketSend

void PacketSend ( IGCPacket & packet );

Send a packet directly out of the IB link. This method bypasses the
transmit memory. Its purpose is to allow you to send high priority
packets or MAD packets at any time without the need for extensive
memory programming.

None

packet

The packet to be sent.

“ResetPacketSend” on page 2-45

Call

Description

Return Value

Input Parameters

See also

Call

Description

Return Value

Input Parameters

See also

Advertising