ESP-IDF
ot::Ip6::Prefix::IsValidNat64() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Ip6::Prefix::IsValidNat64() const
ot::Ip6::Prefix::IsValidNat64() const method
Indicates whether or not the prefix has a valid length for use as a NAT64 prefix. A NAT64 prefix must have one of the following lengths: 32, 40, 48, 56, 64, or 96 (per RFC 6052).
Syntax
Show:
Summary
Declaration
from
ip6_address.hpp:293
bool
IsValidNat64
(
void
)
const
;
Return value
TRUE If the prefix has a valid length for use as a NAT64 prefix. FALSE If the prefix does not have a valid length for use as a NAT64 prefix.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
IsValidNat64
(
void
)
const
{
return
IsValidNat64PrefixLength
(
mLength
)
;
}
ip6_address.hpp:293
OT_ASSERT
(
aPrefix
.
IsValidNat64
(
)
)
;
ip6_address.cpp:524
ot::Ip6::Address
ot::Ip6::Address::SynthesizeFromIp4Address()
if
(
!
config
.
mNat64
||
!
config
.
GetPrefix
(
)
.
IsValidNat64
(
)
)
network_data_leader.cpp:104
ot::NetworkData::Leader
ot::NetworkData::Leader::GetPreferredNat64Prefix() const
if
(
config
.
mNat64
&&
config
.
GetPrefix
(
)
.
IsValidNat64
(
)
&&
aAddress
.
MatchesPrefix
(
config
.
GetPrefix
(
)
)
)
network_data_leader.cpp:128
ot::NetworkData::Leader
ot::NetworkData::Leader::IsNat64() const
VerifyOrExit
(
GetPrefix
(
)
.
IsValidNat64
(
)
)
;
network_data_types.cpp:165
ot::NetworkData::ExternalRouteConfig
ot::NetworkData::ExternalRouteConfig::IsValid() const
Call Tree
from
examples
ot::Ip6::Prefix::IsValidNat64() const
is called by 4 functions and calls 1 function:
ot::NetworkData::Leader::GetPreferredNat64Prefix() const
ot::NetworkData::Leader::IsNat64() const
ot::NetworkData::ExternalRouteConfig::IsValid() const
ot::Ip6::Address::SynthesizeFromIp4Address()
All items filtered out
ot::Ip6::Prefix::IsValidNat64() const
ot::Ip6::Prefix::IsValidNat64PrefixLength()
All items filtered out
Data Use
from
examples
ot::Ip6::Prefix::IsValidNat64() const
reads 1 variable:
otIp6Prefix::mLength
All items filtered out
ot::Ip6::Prefix::IsValidNat64() const
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out