RttcpipFrameAllocate
Note: Frames must be released by calling RttcpipFrameFree API.
Syntax
VOID* RttcpipFrameAllocate(
CHAR *DevName,
ULONG ulDataSize
);
Parameters
Devname
Zero terminated string indicating which device to allocate a frame from.
ulDataSize
Size of the Ethernet payload data. This size does not include the 14 byte Ethernet header.
Return Value
If this function succeeds, it returns a pointer to the Ethernet frame header of newly created frame. If this function fails, it returns NULL.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
RttcpipApi.h |
RtTcpipApi.lib |
See Also: