[nat64] change BORDER_ROUTING_NAT64 to NAT64_BORDER_ROUTING (#8047)

We decided to rename BORDER_ROUTING_NAT64 to NAT64_BORDER_ROUTING so
the flag won't be confusing since we have NAT64_TRANSLATOR which does
not depends on the border routing manager.
This commit is contained in:
Song GUO
2022-08-30 21:05:28 -07:00
committed by GitHub
parent 3d60038bcb
commit bce7c1ae1f
24 changed files with 122 additions and 77 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ otError otBorderRoutingGetOnLinkPrefix(otInstance *aInstance, otIp6Prefix *aPref
*
* NAT64 Prefix might not be advertised in the Thread network.
*
* `OPENTHREAD_CONFIG_BORDER_ROUTING_NAT64_ENABLE` must be enabled.
* `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.
+1 -1
View File
@@ -53,7 +53,7 @@ extern "C" {
* @note This number versions both OpenThread platform and user APIs.
*
*/
#define OPENTHREAD_API_VERSION (239)
#define OPENTHREAD_API_VERSION (240)
/**
* @addtogroup api-instance
+1 -1
View File
@@ -46,7 +46,7 @@ extern "C" {
* @addtogroup api-nat64
*
* @brief This module includes functions and structs for the NAT64 function on the border router. These functions are
* only available when `OPENTHREAD_CONFIG_BORDER_ROUTING_NAT64_ENABLE` is enabled.
* only available when `OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE` is enabled.
*
* @{
*