include/eth.h
/**
 * @brief Sends a frame to ethernet hardware
 *
 * This routine writes a buffer to be sent through the ethernet hardware.
 *
 * @param dev Pointer to the device structure for the driver instance.
 * @param buffer Byte array to be sent through the device
 * @param len Length of the array
 *
 * @return Error code
 */
@brief Sends a frame to ethernet hardware
This routine writes a buffer to be sent through the ethernet hardware.

@param dev Pointer to the device structure for the driver instance.
@param buffer Byte array to be sent through the device
@param len Length of the array

@return Error code
@brief Sends a frame to ethernet hardware This routine writes a buffer to be sent through the ethernet hardware . @param dev Pointer to the device structure for the driver instance . @param buffer Byte array to be sent through the device @param len Length of the array @return Error code
static inline int eth_send(struct device *dev, u8_t *buffer, u16_t len)
{
	const struct eth_driver_api *api = dev->driver_api;
	return api->send(dev, buffer, len);
}
static inline int eth_send ( struct device * dev , u8_t * buffer , u16_t len ) { const struct eth_driver_api * api = dev -> driver_api ; return api -> send ( dev , buffer , len ) ; }
@brief Sends a frame to ethernet hardware
 This routine writes a buffer to be sent through the ethernet hardware.
@brief Sends a frame to ethernet hardware This routine writes a buffer to be sent through the ethernet hardware .