mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-05 15:39:54 +00:00
document that eth drivers input function should be ethernet_input
This commit is contained in:
parent
ef70313e05
commit
03aa8270a6
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user