OAL_KITLETH_GET_FRAME (Windows CE 5.0)
This function pointer checks to see if a frame has been received, and if one has been received it copies the frame to a buffer.
typedef UINT16 (*OAL_KITLETH_GET_FRAME)( UINT8 *pData, UINT16 *pSize);
Parameters
- pData
[out] Pointer to the packet data. - pSize
[out] Pointer to the length of the data, in bytes.
Return Values
Returns the number of bytes received.
Remarks
The pfnGetFrame member of the OAL_KITL_ETH_DRIVER structure points to the custom function that implements OAL_KITLETH_GET_FRAME.
An optimization that may be performed in the Ethernet driver is to filter out all received broadcast packets except for ARPs.
Requirements
OS Versions: Windows CE 5.0 and later
Header: Oal_kitl.h
Link Library: Developer-defined
See Also
KITL Reference Ethernet Driver Interface | KITL Functions
Send Feedback on this topic to the authors