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
the lwip network interface structure for this ethernetif
p
the MAC packet to send (e.g. IP packet including MAC addresses and type)
Return value
ERR_OK if the packet was sent, or ERR_IF if the packet was unable to be sent
Notes
ERR_OK means the packet was sent (but not necessarily transmit complete), and ERR_IF means the packet has more chained buffers than what the interface supports.