Function esp_idf_sys::esp_netif_get_ip6_global
source ยท pub unsafe extern "C" fn esp_netif_get_ip6_global(
esp_netif: *mut esp_netif_t,
if_ip6: *mut esp_ip6_addr_t,
) -> esp_err_t
Expand description
@brief Get interface global IPv6 address
If the specified interface is up and a preferred global IPv6 address has been created for the interface, return a copy of it.
@param[in] esp_netif Handle to esp-netif instance @param[out] if_ip6 IPv6 information will be returned in this argument if successful.
@return - ESP_OK - ESP_FAIL If interface is down, does not have a global IPv6 address, or the global IPv6 address is not a preferred address.