ESP-IDF
ot::NetworkData::ExternalRouteConfig::GetPrefix() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/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::NetworkData::ExternalRouteConfig::GetPrefix() const
ot::NetworkData::ExternalRouteConfig::GetPrefix() const method
Gets the prefix.
Syntax
Show:
Summary
Declaration
from
network_data_types.hpp:253
const
Ip6
::
Prefix
&
GetPrefix
(
void
)
const
;
Return value
The prefix.
Examples
References
from
examples
Code
Location
Scope
Referrer
const
Ip6
::
Prefix
&
GetPrefix
(
void
)
const
{
return
AsCoreType
(
&
mPrefix
)
;
}
network_data_types.hpp:253
error
=
AddPrefix
(
aConfig
.
GetPrefix
(
)
,
NetworkDataTlv
::
kTypeHasRoute
,
aConfig
.
ConvertToTlvFlags
(
)
,
aConfig
.
mStable
)
;
network_data_local.cpp:80
ot::NetworkData::Local
ot::NetworkData::Local::AddHasRoutePrefix()
return
ReplacePublishedExternalRoute
(
aConfig
.
GetPrefix
(
)
,
aConfig
,
aRequester
)
;
network_data_publisher.cpp:90
ot::NetworkData::Publisher
ot::NetworkData::Publisher::PublishExternalRoute()
LogInfo
(
"Publishing ExternalRoute %s"
,
aConfig
.
GetPrefix
(
)
.
ToString
(
)
.
AsCString
(
)
)
;
network_data_publisher.cpp:780
ot::NetworkData::Publisher::PrefixEntry
ot::NetworkData::Publisher::PrefixEntry::Publish()
Publish
(
aConfig
.
GetPrefix
(
)
,
aConfig
.
ConvertToTlvFlags
(
)
,
kTypeExternalRoute
,
aRequester
)
;
network_data_publisher.cpp:782
ot::NetworkData::Publisher::PrefixEntry
ot::NetworkData::Publisher::PrefixEntry::Publish()
VerifyOrExit
(
GetPrefix
(
)
.
IsValidNat64
(
)
)
;
network_data_types.cpp:165
ot::NetworkData::ExternalRouteConfig
ot::NetworkData::ExternalRouteConfig::IsValid() const
VerifyOrExit
(
IsPrefixValid
(
aInstance
,
GetPrefix
(
)
)
)
;
network_data_types.cpp:169
ot::NetworkData::ExternalRouteConfig
ot::NetworkData::ExternalRouteConfig::IsValid() const
Call Tree
from
examples
ot::NetworkData::ExternalRouteConfig::GetPrefix() const
is called by 4 functions:
ot::NetworkData::Local::AddHasRoutePrefix()
ot::NetworkData::Publisher::PublishExternalRoute()
ot::NetworkData::Publisher::PrefixEntry::Publish()
ot::NetworkData::ExternalRouteConfig::IsValid() const
All items filtered out
ot::NetworkData::ExternalRouteConfig::GetPrefix() const
All items filtered out
Data Use
from
examples
All items filtered out
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