openthread_sys

Function otPlatInfraIfDiscoverNat64Prefix

Source
pub unsafe extern "C" fn otPlatInfraIfDiscoverNat64Prefix(
    aInfraIfIndex: u32,
) -> otError
Expand description

Send a request to discover the NAT64 prefix on the infrastructure interface with @p aInfraIfIndex.

OpenThread will call this method periodically to monitor the presence or change of NAT64 prefix.

@param[in] aInfraIfIndex The index of the infrastructure interface to discover the NAT64 prefix.

@retval OT_ERROR_NONE Successfully request NAT64 prefix discovery. @retval OT_ERROR_FAILED Failed to request NAT64 prefix discovery.