The lwIP adapters work in interrupt mode. The receive interrupt handlers move the packet data
from the EMAC/GigE and store them in a queue. The xemacif_input()
function
takes those packets from the queue, and passes them to lwIP; consequently, this function is
required for lwIP operation in RAW mode. The following is a sample lwIP application in RAW
mode.
Note: For RAW mode only.
while (1) {
xemacif_input
(netif);
}
Note: The program is notified of the received data through
callbacks.
Prototype
int xemacif_input(struct netif *netif);