IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ pktSendPacket()

int pktSendPacket ( DevUserIfaceHandle  devHandle,
const unsigned char *  buffer,
int  len 
)

Send a packet out the specified device.

Concerning the internal Ethernet device:

The Ethernet driver doesn't check the provided packet buffer for valid data (e.g. for a valid source or destination address).

The user has to provide a valid Ethernet packet of type EthPacket with a correct length parameter.
Parameters
[in]devHandleDevice handle to identify the interface.
[in]bufferPointer to the packet data
[in]lenLength of the packet in bytes.
Returns
0 on success
-1 on failure
Since
V0.84





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Dec 12 2017 09:23:36 by Doxygen 1.8.13