Modify IPv6 functionality compatible with lwip2.1.2

This commit is contained in:
xueyunfei
2019-07-10 03:29:32 -04:00
parent 596209de69
commit f29ff2c552
5 changed files with 29 additions and 12 deletions

View File

@@ -740,6 +740,14 @@ esp_err_t tcpip_adapter_set_default_wifi_handlers();
*/
esp_err_t tcpip_adapter_clear_default_wifi_handlers();
/**
* @brief Search nefit index through netif interface
* @param[in] tcpip_if Interface to search for netif index
* @return
* - netif_index on success
* - -1 if an invalid parameter is supplied
*/
int tcpip_adapter_get_netif_index(tcpip_adapter_if_t tcpip_if);
#ifdef __cplusplus
}