IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

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] devHandle Device handle to identify the interface.
[in] buffer Pointer to the packet data
[in] len Length of the packet in bytes.
0 on success
-1 on failure
SC2x3 V1.00 - CLIB V1.00

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:15 2018 by Doxygen 1.6.1