ethernet_low_level_output() function
This function should do the actual transmission of the packet. The packet is contained in the pbuf that is passed to the function. This pbuf might be chained.
Arguments
netif
lwip network interface structure for this ethernetif
p
MAC packet to send (e.g. IP packet including MAC addresses and type)
Return value
err_t ERR_OK if the packet has been sent to Ethernet DMA buffer successfully ERR_MEM if private data couldn't be allocated ERR_IF if netif is not supported ERR_ABORT if there's some wrong when send pbuf payload to DMA buffer