Function esp_idf_svc::hal::sys::esp_netif_get_ip6_linklocal
source ยท pub unsafe extern "C" fn esp_netif_get_ip6_linklocal(
esp_netif: *mut esp_netif_obj,
if_ip6: *mut esp_ip6_addr,
) -> i32
Expand description
@brief Get interface link-local IPv6 address
If the specified interface is up and a preferred link-local 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 link-local IPv6 address, or the link-local IPv6 address is not a preferred address.