document that eth drivers input function should be ethernet_input

This commit is contained in:
jifl 2008-02-18 12:27:51 +00:00
parent ef70313e05
commit 03aa8270a6

View File

@ -383,7 +383,9 @@ Call these functions in the order of appearance:
return ERR_OK; return ERR_OK;
} }
The input function pointer must point to the lwip ip_input(). For ethernet drivers, the input function pointer must point to the lwip
function ethernet_input() declared in "netif/etharp.h". Other drivers
must use ip_input() declared in "lwip/ip.h".
- netif_set_default(struct netif *netif) - netif_set_default(struct netif *netif)
@ -432,4 +434,4 @@ to match your application and network.
For a production release it is recommended to set LWIP_STATS to 0. For a production release it is recommended to set LWIP_STATS to 0.
Note that speed performance isn't influenced much by simply setting Note that speed performance isn't influenced much by simply setting
high values to the memory options. high values to the memory options.