pub unsafe extern "C" fn otNat64GetPrefixManagerState(
aInstance: *mut otInstance,
) -> otNat64State
Expand description
Gets the state of NAT64 prefix manager.
Available when OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE
is enabled.
@param[in] aInstance A pointer to an OpenThread instance.
@retval OT_NAT64_STATE_DISABLED NAT64 prefix manager is disabled. @retval OT_NAT64_STATE_NOT_RUNNING NAT64 prefix manager is enabled, but is not running (because the routing manager is not running). @retval OT_NAT64_STATE_IDLE NAT64 prefix manager is enabled, but is not publishing a NAT64 prefix. Usually when there is another border router publishing a NAT64 prefix with higher priority. @retval OT_NAT64_STATE_ACTIVE NAT64 prefix manager is enabled, and is publishing NAT64 prefix to the Thread network.