PDK API Guide for J721E
|
Functions | |
err_t | LWIPIF_LWIP_init (struct netif *netif) |
Enet LLD's netif init callback function. More... | |
err_t LWIPIF_LWIP_init | ( | struct netif * | netif | ) |
Enet LLD's netif init callback function.
This function implements the initialization of the Enet LLD based interface, so it must be called when adding a netif interface via netif_add()
.
When using the default netif, application can choose to call init_default_netif() which internally takes care of setting this functions as netif's init callback.
If multiple netifs are used, the non default netifs have to be added via netif_add()
which would require this function passed as input callback function.
netif | The netif to initialize. |