Function esp_idf_svc::hal::sys::esp_netif_create_ip6_linklocal

source ยท
pub unsafe extern "C" fn esp_netif_create_ip6_linklocal(
    esp_netif: *mut esp_netif_obj,
) -> i32
Expand description

@brief Create interface link-local IPv6 address

Cause the TCP/IP stack to create a link-local IPv6 address for the specified interface.

This function also registers a callback for the specified interface, so that if the link-local address becomes verified as the preferred address then a SYSTEM_EVENT_GOT_IP6 event will be sent.

@param[in] esp_netif Handle to esp-netif instance

@return - ESP_OK - ESP_ERR_ESP_NETIF_INVALID_PARAMS