ESP-IDF
ot::OffsetRange::GetEndOffset() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::OffsetRange::GetEndOffset() const
ot::OffsetRange::GetEndOffset() const method
Gets the end offset of the `OffsetRange`. This offset is exclusive, meaning it marks the position immediately after the last byte within the range.
Syntax
Show:
Summary
Declaration
from
offset_range.hpp:105
uint16_t
GetEndOffset
(
void
)
const
;
Return value
The end offset.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetEndOffset
(
void
)
const
{
return
(
mOffset
+
mLength
)
;
}
offset_range.hpp:105
else
if
(
mplOffsetRange
.
GetOffset
(
)
+
ExtensionHeader
::
kLengthUnitSize
==
offsetRange
.
GetEndOffset
(
)
)
ip6.cpp:345
ot::Ip6::Ip6
ot::Ip6::Ip6::RemoveMplOption()
aMessage
.
RemoveHeader
(
offsetRange
.
GetEndOffset
(
)
-
ExtensionHeader
::
kLengthUnitSize
,
ip6.cpp:368
ot::Ip6::Ip6
ot::Ip6::Ip6::RemoveMplOption()
aMessage
.
SetOffset
(
offsetRange
.
GetEndOffset
(
)
)
;
ip6.cpp:538
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleOptions()
aMessage
.
SetOffset
(
offsetRange
.
GetEndOffset
(
)
)
;
mesh_diag.cpp:413
ot::Utils::MeshDiag
ot::Utils::MeshDiag::ProcessChildrenIp6AddrsAnswer()
VerifyOrExit
(
mTlvOffsetRange
.
GetEndOffset
(
)
<=
aMessage
.
GetLength
(
)
,
error
=
kErrorParse
)
;
tlvs.cpp:132
ot::Tlv::ParsedInfo
ot::Tlv::ParsedInfo::ParseFrom()
Call Tree
from
examples
ot::OffsetRange::GetEndOffset() const
is called by 4 functions:
ot::Tlv::ParsedInfo::ParseFrom()
ot::Utils::MeshDiag::ProcessChildrenIp6AddrsAnswer()
ot::Ip6::Ip6::RemoveMplOption()
ot::Ip6::Ip6::HandleOptions()
All items filtered out
ot::OffsetRange::GetEndOffset() const
All items filtered out
Data Use
from
examples
ot::OffsetRange::GetEndOffset() const
reads 2 variables:
ot::OffsetRange::mOffset
ot::OffsetRange::mLength
All items filtered out
ot::OffsetRange::GetEndOffset() 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