Function esp_idf_svc::sys::esp_netif_get_old_ip_info

source ·
pub unsafe extern "C" fn esp_netif_get_old_ip_info(
    esp_netif: *mut esp_netif_obj,
    ip_info: *mut esp_netif_ip_info_t,
) -> i32
Expand description

@brief Get interface’s old IP information

Returns an “old” IP address previously stored for the interface when the valid IP changed.

If the IP lost timer has expired (meaning the interface was down for longer than the configured interval) then the old IP information will be zero.

@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