Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/5/2010
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.
Syntax
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 Value
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
| Header | oal_kitl.h |
| Library | Developer Implemented |
| Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
KITL Functions for Ethernet Drivers
KITL Functions for Production-Quality OAL