Lines Matching full:nat64
32 * This file defines the OpenThread API for NAT64 on a border router.
46 * @addtogroup api-nat64
48 …* @brief This module includes functions and structs for the NAT64 function on the border router. T…
88 * Represents the counters for NAT64.
99 * Represents the counters for the protocols supported by NAT64.
123 * Represents the counters of dropped packets due to errors when handling NAT64 packets.
132 * Gets NAT64 translator counters.
139 …* @param[out] aCounters A pointer to an `otNat64Counters` where the counters of NAT64 translator w…
144 * Gets the NAT64 translator error counters.
149 …* @param[out] aCounters A pointer to an `otNat64Counters` where the counters of NAT64 translator w…
154 * Represents an address mapping record for NAT64.
171 * Used to iterate through NAT64 address mappings.
202 …* NAT64 address mapping record. To get the first entry the iterator…
204 … aMapping A pointer to an `otNat64AddressMapping` where information of next NAT64 address
207 …* @retval OT_ERROR_NONE Successfully found the next NAT64 address mapping info (@p aMapping …
209 * @retval OT_ERROR_NOT_FOUND No subsequent NAT64 address mapping info was found.
216 * States of NAT64.
220 OT_NAT64_STATE_DISABLED = 0, ///< NAT64 is disabled.
221 …OT_NAT64_STATE_NOT_RUNNING, ///< NAT64 is enabled, but one or more dependencies of NAT64 are not …
222 OT_NAT64_STATE_IDLE, ///< NAT64 is enabled, but this BR is not an active NAT64 BR.
223 … OT_NAT64_STATE_ACTIVE, ///< The BR is publishing a NAT64 prefix and/or translating packets.
227 * Gets the state of NAT64 translator.
233 * @retval OT_NAT64_STATE_DISABLED NAT64 translator is disabled.
234 …* @retval OT_NAT64_STATE_NOT_RUNNING NAT64 translator is enabled, but the translator is not config…
235 * NAT64 prefix and a CIDR.
236 * @retval OT_NAT64_STATE_ACTIVE NAT64 translator is enabled, and is translating packets.
241 * Gets the state of NAT64 prefix manager.
247 * @retval OT_NAT64_STATE_DISABLED NAT64 prefix manager is disabled.
248 …* @retval OT_NAT64_STATE_NOT_RUNNING NAT64 prefix manager is enabled, but is not running (because …
250 …* @retval OT_NAT64_STATE_IDLE NAT64 prefix manager is enabled, but is not publishing a NAT6…
251 …* when there is another border router publishing a NAT64 prefix…
253 …* @retval OT_NAT64_STATE_ACTIVE NAT64 prefix manager is enabled, and is publishing NAT64 pref…
259 * Enable or disable NAT64 functions.
261 …* Note: This includes the NAT64 Translator (when `OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE` is en…
271 * @param[in] aEnabled A boolean to enable/disable the NAT64 functions
279 * Allocate a new message buffer for sending an IPv4 message to the NAT64 translator.
306 …* @note This function can be called at any time, but the NAT64 translator will be reset and all ex…
310 * @param[in] aCidr A pointer to an otIp4Cidr for the IPv4 CIDR block for NAT64.
312 * @retval OT_ERROR_INVALID_ARGS The given CIDR is not a valid IPv4 CIDR for NAT64.
313 * @retval OT_ERROR_NONE Successfully set the CIDR for NAT64.
325 …* @note This function can be called at any time, but the NAT64 translator will be reset and all ex…
354 * Pointer is called when an IPv4 datagram (translated by NAT64 translator) is received.
374 * Gets the IPv4 CIDR configured in the NAT64 translator.
395 * Set @p aIp4Address by performing NAT64 address translation from @p aIp6Address as specified
398 …* The NAT64 @p aPrefixLength MUST be one of the following values: 32, 40, 48, 56, 64, or 96, other…
485 …* Sets the IPv6 address by performing NAT64 address translation from the preferred NAT64 prefix an…
492 …* @returns OT_ERROR_NONE Successfully synthesized the IPv6 address from NAT64 prefix an…
493 * @returns OT_ERROR_INVALID_STATE No valid NAT64 prefix in the network data.