INtime SDK Help
hpeGetReceiveBuffer
INtime SDK v7 > About INtime > Networking and I/O > High-Performance Ethernet > hpeGetReceiveBuffer

This call is an alias for hpeGetReceiveQueueBuffer with queue_index set to 0.

HPESTATUS hpeGetReceiveBuffer(
    HPEHANDLE devhandle, 
    HPEBUFFER **buffer_ptr
);

Parameters

devhandle
A handle value for the device.
buffer_ptr
A pointer to a variable to which will be returned a point to a HPEBUFFER structure describing the next receive buffer which contains a received frame. The used field of the structure will indicate how many bytes of frame data are contained in the buffer.

Return Values

A status value indicating the success or failure of the operation:

E_OK The operation completed successfully.
E_EXIST The handle given is not a handle for an open HPE interface.
E_INVALID_ADDR The buffer_ptr parameter was not a valid pointer.
E_STATE No completed receive buffers were available.

Requirements

Versions Defined in Include Link to
INtime 4.0 intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also