mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-13 06:37:25 +00:00
Matched interface documentation for netif_add() API change in 1.28.2.5.
This commit is contained in:
parent
33d0096b81
commit
a6f1111469
@ -50,12 +50,14 @@ struct netif *netif_default = NULL;
|
|||||||
/**
|
/**
|
||||||
* Add a network interface to the list of lwIP netifs.
|
* Add a network interface to the list of lwIP netifs.
|
||||||
*
|
*
|
||||||
|
* @param netif a pre-allocated netif structure
|
||||||
* @param ipaddr IP address for the new netif
|
* @param ipaddr IP address for the new netif
|
||||||
* @param netmask network mask for the new netif
|
* @param netmask network mask for the new netif
|
||||||
* @param gw default gateway IP address for the new netif
|
* @param gw default gateway IP address for the new netif
|
||||||
* @param state opaque data passed to the new netif
|
* @param state opaque data passed to the new netif
|
||||||
* @param init callback function that initializes the interface
|
* @param init callback function that initializes the interface
|
||||||
* @param input callback function that...
|
* @param input callback function that is called to pass
|
||||||
|
* ingress packets up in the protocol layer stack.
|
||||||
*
|
*
|
||||||
* @return netif, or NULL if failed.
|
* @return netif, or NULL if failed.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user