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.
[in]devHandleDevice handle to identify the interface.
[in]bufferPointer to the packet data
[in]lenLength of the packet in bytes.
0 on success
-1 on failure

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:14 by Doxygen 1.8.13