mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Update documentation of netif_input function
This commit is contained in:
parent
4cb7e31d2d
commit
2c2d11fa4d
@ -174,8 +174,13 @@ netif_init(void)
|
||||
}
|
||||
|
||||
/**
|
||||
* Pass a received packet for input processing with
|
||||
* ethernet_input or ip_input depending on netif flags.
|
||||
* @ingroup lwip_nosys
|
||||
* Forwards a received packet for input processing with
|
||||
* ethernet_input() or ip_input() depending on netif flags.
|
||||
* Don't call directly, pass to netif_add() and call
|
||||
* netif->input().
|
||||
* Only works if the netif driver correctly sets
|
||||
* NETIF_FLAG_ETHARP and/or NETIF_FLAG_ETHERNET flag!
|
||||
*/
|
||||
err_t
|
||||
netif_input(struct pbuf *p, struct netif *inp)
|
||||
|
Loading…
Reference in New Issue
Block a user