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;
}
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)