pub unsafe extern "C" fn otBorderRoutingGetNat64Prefix(
    aInstance: *mut otInstance,
    aPrefix: *mut otIp6Prefix
) -> otError
Expand description

Gets the local NAT64 Prefix of the Border Router.

NAT64 Prefix might not be advertised in the Thread network.

OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE must be enabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aPrefix A pointer to where the prefix will be output to.

@retval OT_ERROR_INVALID_STATE The Border Routing Manager is not initialized yet. @retval OT_ERROR_NONE Successfully retrieved the NAT64 prefix.