pub unsafe extern "C" fn esp_netif_get_ip_info(
    esp_netif: *mut esp_netif_t,
    ip_info: *mut esp_netif_ip_info_t
) -> esp_err_t
Expand description

@brief Get interface’s IP address information

If the interface is up, IP information is read directly from the TCP/IP stack. If the interface is down, IP information is read from a copy kept in the ESP-NETIF instance

@param[in] esp_netif Handle to esp-netif instance @param[out] ip_info If successful, IP information will be returned in this argument.

@return - ESP_OK - ESP_ERR_ESP_NETIF_INVALID_PARAMS