Function esp_idf_sys::esp_netif_add_ip6_address

source ยท
pub unsafe extern "C" fn esp_netif_add_ip6_address(
    esp_netif: *mut esp_netif_t,
    addr: esp_ip6_addr_t,
    preferred: bool,
) -> esp_err_t
Expand description

@brief Cause the TCP/IP stack to add an IPv6 address to the interface

@param[in] esp_netif Handle to esp-netif instance @param[in] addr The address to be added @param[in] preferred The preferred status of the address

@return - ESP_OK - ESP_ERR_ESP_NETIF_INVALID_PARAMS - ESP_ERR_ESP_NETIF_IP6_ADDR_FAILED - ESP_ERR_NO_MEM