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





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1