esp_idf_svc::hal::sys

Function esp_openthread_get_nat64_prefix

Source
pub unsafe extern "C" fn esp_openthread_get_nat64_prefix(
    nat64_prefix: *mut ip6_addr,
) -> i32
Expand description

@brief This function acquires the NAT64 prefix in the Thread network.

@param[out] nat64_prefix The NAT64 prefix output.

@return - ESP_OK on success - ESP_ERR_NOT_FOUND if NAT64 prefix available