Atmel Software Framework

lwip-port-1.4.1/at32uc3/include/netif/ethernetif.h File Reference

Functions

void ethernetif_input (void *pvParameters)
 This function should be called when a packet is ready to be read from the interface. More...
 

void ethernetif_input ( void *  pvParameters)

This function should be called when a packet is ready to be read from the interface.

It uses the function low_level_input() that should handle the actual reception of bytes from the network interface. Then the type of the received packet is determined and the appropriate input function is called.

Parameters
netifthe lwip network interface structure for this ethernetif

References ERR_OK, netif::input, low_level_input(), NULL, pbuf_free(), and vMACBWaitForInput().

Referenced by low_level_init().