ESP-IDF
ot::Ip6::InterfaceIdentifier::IsLocator() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/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::InterfaceIdentifier::IsLocator() const
ot::Ip6::InterfaceIdentifier::IsLocator() const method
Indicates whether or not the Interface Identifier matches the locator pattern `0000:00ff:fe00:xxxx`.
Syntax
Show:
Summary
Declaration
Definition
from
ip6_address.hpp:439
bool
IsLocator
(
void
)
const
;
Implemented in
ip6_address.cpp:279
Return value
TRUE If the IID matches the locator pattern. FALSE If the IID does not match the locator pattern.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
InterfaceIdentifier
::
IsLocator
(
void
)
const
ip6_address.cpp:279
bool
IsLocator
(
void
)
const
;
ip6_address.hpp:439
rval
=
aAddress
.
GetIid
(
)
.
IsLocator
(
)
;
icmp6.cpp:168
ot::Ip6::Icmp
ot::Ip6::Icmp::ShouldHandleEchoRequest()
return
(
IsLocator
(
)
&&
(
mFields
.
m8
[
6
]
<
kAloc16Mask
)
&&
(
(
mFields
.
m8
[
6
]
&
kRloc16ReservedBitMask
)
==
0
)
)
;
ip6_address.cpp:287
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsRoutingLocator() const
return
(
IsLocator
(
)
&&
(
mFields
.
m8
[
6
]
==
kAloc16Mask
)
)
;
ip6_address.cpp:293
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsAnycastLocator() const
return
(
IsLocator
(
)
&&
(
locator
>=
Mle
::
kAloc16ServiceStart
)
&&
(
locator
<=
Mle
::
kAloc16ServiceEnd
)
)
;
ip6_address.cpp:300
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsAnycastServiceLocator() const
VerifyOrExit
(
aAddress
.
GetIid
(
)
.
IsLocator
(
)
,
error
=
kErrorDrop
)
;
ip6_mpl.cpp:99
ot::Ip6::Mpl
ot::Ip6::Mpl::ProcessOption()
else
if
(
aIpAddr
.
GetIid
(
)
.
IsLocator
(
)
)
lowpan.cpp:103
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::CompressSourceIid()
else
if
(
aIpAddr
.
GetIid
(
)
.
IsLocator
(
)
)
lowpan.cpp:132
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::CompressDestinationIid()
Call Tree
from
examples
ot::Ip6::InterfaceIdentifier::IsLocator() const
is called by 7 functions and calls 2 functions:
ot::Ip6::InterfaceIdentifier::IsRoutingLocator() const
ot::Ip6::InterfaceIdentifier::IsAnycastLocator() const
ot::Ip6::InterfaceIdentifier::IsAnycastServiceLocator() const
ot::Lowpan::Lowpan::CompressSourceIid()
ot::Lowpan::Lowpan::CompressDestinationIid()
ot::Ip6::Icmp::ShouldHandleEchoRequest()
ot::Ip6::Mpl::ProcessOption()
All items filtered out
ot::Ip6::InterfaceIdentifier::IsLocator() const
ot::BigEndian::HostSwap16()
ot::BigEndian::HostSwap32()
All items filtered out
Data Use
from
examples
ot::Ip6::InterfaceIdentifier::IsLocator() const
reads 3 variables:
otIp6InterfaceIdentifier::
::m16
otIp6InterfaceIdentifier::
::m32
otIp6InterfaceIdentifier::mFields
All items filtered out
ot::Ip6::InterfaceIdentifier::IsLocator() 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