cyg_lwip_eth_low_level_output() — Transmit a packet


#include <cyg/io/eth/eth_drv.h>

err_t cyg_lwip_eth_low_level_output(struct netif *netif, struct pbuf *p);


This function is called by higher layers to perform the actual transmission of the data packet referenced by p. The passed pointer may be a chain of linked struct pbuf descriptors containing the data of the single packet, and is not a chain of packets.

Return value

This function returns a standard error code, as defined in <lwip/err.h>, with ERR_OK being returned on success.