ESP-IDF
ot::Ip6::Header::GetDestination()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/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::Header::GetDestination()
ot::Ip6::Header::GetDestination() method
Returns the IPv6 Destination address.
Syntax
Show:
Summary
Declaration
from
ip6_headers.hpp:278
Address
&
GetDestination
(
void
)
;
Return value
A reference to the IPv6 Destination address.
Examples
References
from
examples
Code
Location
Scope
Referrer
Address
&
GetDestination
(
void
)
{
return
mDestination
;
}
ip6_headers.hpp:278
Remove
(
ip6Header
.
GetDestination
(
)
,
kReasonReceivedIcmpDstUnreachNoRoute
)
;
address_resolver.cpp:1062
ot::AddressResolver
ot::AddressResolver::HandleIcmpReceive()
if
(
ip6Header
.
GetDestination
(
)
.
IsLinkLocalUnicast
(
)
)
indirect_sender.cpp:366
ot::IndirectSender
ot::IndirectSender::PrepareDataFrame()
Get
<
MeshForwarder
>
(
)
.
GetMacDestinationAddress
(
ip6Header
.
GetDestination
(
)
,
macAddrs
.
mDestination
)
;
indirect_sender.cpp:368
ot::IndirectSender
ot::IndirectSender::PrepareDataFrame()
tunnelHeader
.
GetDestination
(
)
.
SetToRealmLocalAllMplForwarders
(
)
;
ip6.cpp:215
ot::Ip6::Ip6
ot::Ip6::Ip6::PrepareMulticastToLargerThanRealmLocal()
source
=
SelectSourceAddress
(
tunnelHeader
.
GetDestination
(
)
)
;
ip6.cpp:218
ot::Ip6::Ip6
ot::Ip6::Ip6::PrepareMulticastToLargerThanRealmLocal()
if
(
aHeader
.
GetDestination
(
)
.
IsMulticastLargerThanRealmLocal
(
)
)
ip6.cpp:234
ot::Ip6::Ip6
ot::Ip6::Ip6::InsertMplOption()
VerifyOrExit
(
aHeader
.
GetDestination
(
)
.
IsRealmLocalMulticast
(
)
)
;
ip6.cpp:240
ot::Ip6::Ip6
ot::Ip6::Ip6::InsertMplOption()
Checksum
::
UpdateMessageChecksum
(
aMessage
,
header
.
GetSource
(
)
,
header
.
GetDestination
(
)
,
aIpProto
)
;
ip6.cpp:458
ot::Ip6::Ip6
ot::Ip6::Ip6::SendDatagram()
messageInfo
.
SetSockAddr
(
aIp6Header
.
GetDestination
(
)
)
;
ip6.cpp:877
ot::Ip6::Ip6
ot::Ip6::Ip6::Receive()
Get
<
Mle
::
Mle
>
(
)
.
IsMeshLocalAddress
(
header
.
GetDestination
(
)
)
)
ip6.cpp:1055
ot::Ip6::Ip6
ot::Ip6::Ip6::SendRaw()
if
(
header
.
GetDestination
(
)
.
IsMulticast
(
)
)
ip6.cpp:1061
ot::Ip6::Ip6
ot::Ip6::Ip6::SendRaw()
if
(
header
.
GetDestination
(
)
.
IsMulticast
(
)
)
ip6.cpp:1094
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
if
(
aMessagePtr
->
IsOriginThreadNetif
(
)
&&
header
.
GetDestination
(
)
.
IsMulticastLargerThanRealmLocal
(
)
&&
ip6.cpp:1101
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
Get
<
ChildTable
>
(
)
.
HasSleepyChildWithAddress
(
header
.
GetDestination
(
)
)
)
ip6.cpp:1102
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
Get
<
ThreadNetif
>
(
)
.
IsMulticastSubscribed
(
header
.
GetDestination
(
)
)
)
ip6.cpp:1112
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
if
(
Get
<
ThreadNetif
>
(
)
.
HasUnicastAddress
(
header
.
GetDestination
(
)
)
)
ip6.cpp:1121
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
else
if
(
!
aMessagePtr
->
IsOriginThreadNetif
(
)
||
!
header
.
GetDestination
(
)
.
IsLinkLocalUnicast
(
)
)
ip6.cpp:1125
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
if
(
header
.
GetDestination
(
)
.
IsLinkLocalUnicast
(
)
)
ip6.cpp:1127
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
else
if
(
IsOnLink
(
header
.
GetDestination
(
)
)
)
ip6.cpp:1131
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
!
Get
<
BackboneRouter
::
Manager
>
(
)
.
ShouldForwardDuaToBackbone
(
header
.
GetDestination
(
)
)
)
;
ip6.cpp:1135
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
else
if
(
RouteLookup
(
header
.
GetSource
(
)
,
header
.
GetDestination
(
)
)
==
kErrorNone
)
ip6.cpp:1140
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
FindContextToCompressAddress
(
ip6Header
.
GetDestination
(
)
,
dstContext
)
;
lowpan.cpp:248
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
if
(
ip6Header
.
GetDestination
(
)
.
IsMulticast
(
)
)
lowpan.cpp:356
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
SuccessOrExit
(
error
=
CompressMulticast
(
ip6Header
.
GetDestination
(
)
,
hcCtl
,
aFrameBuilder
)
)
;
lowpan.cpp:358
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
else
if
(
ip6Header
.
GetDestination
(
)
.
IsLinkLocalUnicast
(
)
)
lowpan.cpp:360
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
SuccessOrExit
(
error
=
CompressDestinationIid
(
aMacAddrs
.
mDestination
,
ip6Header
.
GetDestination
(
)
,
dstContext
,
lowpan.cpp:362
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
SuccessOrExit
(
error
=
CompressDestinationIid
(
aMacAddrs
.
mDestination
,
ip6Header
.
GetDestination
(
)
,
dstContext
,
lowpan.cpp:368
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
SuccessOrExit
(
error
=
aFrameBuilder
.
Append
(
ip6Header
.
GetDestination
(
)
)
)
;
lowpan.cpp:373
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
SuccessOrExit
(
aFrameData
.
Read
(
aIp6Header
.
GetDestination
(
)
)
)
;
lowpan.cpp:732
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
Read
(
aIp6Header
.
GetDestination
(
)
.
GetIid
(
)
)
)
;
lowpan.cpp:736
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
[
11
]
=
0xff
;
lowpan.cpp:740
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
[
12
]
=
0xfe
;
lowpan.cpp:741
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
ReadBytes
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
+
14
,
2
)
)
;
lowpan.cpp:742
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
ComputeIid
(
aMacAddrs
.
mDestination
,
dstContext
,
aIp6Header
.
GetDestination
(
)
.
GetIid
(
)
)
)
;
lowpan.cpp:746
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
aIp6Header
.
GetDestination
(
)
.
mFields
.
m16
[
0
]
=
BigEndian
::
HostSwap16
(
0xfe80
)
;
lowpan.cpp:754
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
aIp6Header
.
GetDestination
(
)
.
SetPrefix
(
dstContext
.
mPrefix
)
;
lowpan.cpp:760
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
[
0
]
=
0xff
;
lowpan.cpp:767
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
Read
(
aIp6Header
.
GetDestination
(
)
)
)
;
lowpan.cpp:774
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
ReadUint8
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
[
1
]
)
)
;
lowpan.cpp:778
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
ReadBytes
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
+
11
,
5
)
)
;
lowpan.cpp:779
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
ReadUint8
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
[
1
]
)
)
;
lowpan.cpp:783
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
ReadBytes
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
+
13
,
3
)
)
;
lowpan.cpp:784
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
[
1
]
=
0x02
;
lowpan.cpp:788
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
ReadUint8
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
[
15
]
)
)
;
lowpan.cpp:789
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
ReadBytes
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
+
1
,
2
)
)
;
lowpan.cpp:799
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
[
3
]
=
dstContext
.
mPrefix
.
GetLength
(
)
;
lowpan.cpp:800
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
memcpy
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
+
4
,
dstContext
.
mPrefix
.
GetBytes
(
)
,
8
)
;
lowpan.cpp:801
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
SuccessOrExit
(
aFrameData
.
ReadBytes
(
aIp6Header
.
GetDestination
(
)
.
mFields
.
m8
+
12
,
4
)
)
;
lowpan.cpp:802
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::DecompressBaseHeader()
if
(
ip6Header
.
GetDestination
(
)
.
IsLinkLocalUnicastOrMulticast
(
)
)
mesh_forwarder.cpp:635
ot::MeshForwarder
ot::MeshForwarder::UpdateIp6Route()
if
(
ip6Header
.
GetDestination
(
)
.
IsMulticast
(
)
)
mesh_forwarder.cpp:647
ot::MeshForwarder
ot::MeshForwarder::UpdateIp6Route()
else
if
(
ip6Header
.
GetDestination
(
)
.
IsLinkLocalUnicast
(
)
)
mesh_forwarder.cpp:662
ot::MeshForwarder
ot::MeshForwarder::UpdateIp6Route()
const
Ip6
::
Address
&
destination
=
ip6Header
.
GetDestination
(
)
;
mesh_forwarder_ftd.cpp:58
ot::MeshForwarder
ot::MeshForwarder::SendMessage()
Call Tree
from
examples
ot::Ip6::Header::GetDestination()
is called by 12 functions:
ot::AddressResolver::HandleIcmpReceive()
ot::IndirectSender::PrepareDataFrame()
ot::Lowpan::Lowpan::Compress()
ot::Lowpan::Lowpan::DecompressBaseHeader()
ot::MeshForwarder::UpdateIp6Route()
ot::MeshForwarder::SendMessage()
ot::Ip6::Ip6::PrepareMulticastToLargerThanRealmLocal()
ot::Ip6::Ip6::InsertMplOption()
ot::Ip6::Ip6::SendDatagram()
ot::Ip6::Ip6::Receive()
ot::Ip6::Ip6::SendRaw()
ot::Ip6::Ip6::HandleDatagram()
All items filtered out
ot::Ip6::Header::GetDestination()
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