ESP-IDF
ot::Ip6::Header::GetHopLimit() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
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::GetHopLimit() const
ot::Ip6::Header::GetHopLimit() const method
Returns the IPv6 Hop Limit value.
Syntax
Show:
Summary
Declaration
from
ip6_headers.hpp:243
uint8_t
GetHopLimit
(
void
)
const
;
Return value
The IPv6 Hop Limit value.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetHopLimit
(
void
)
const
{
return
mHopLimit
;
}
ip6_headers.hpp:243
messageInfo
.
SetHopLimit
(
aIp6Header
.
GetHopLimit
(
)
)
;
ip6.cpp:878
ot::Ip6::Ip6
ot::Ip6::Ip6::Receive()
header
.
SetHopLimit
(
header
.
GetHopLimit
(
)
-
1
)
;
ip6.cpp:1195
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
VerifyOrExit
(
header
.
GetHopLimit
(
)
>
0
,
error
=
kErrorDrop
)
;
ip6.cpp:1198
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
aMessagePtr
->
Write
<
uint8_t
>
(
Header
::
kHopLimitFieldOffset
,
header
.
GetHopLimit
(
)
)
;
ip6.cpp:1200
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
switch
(
ip6Header
.
GetHopLimit
(
)
)
lowpan.cpp:315
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
SuccessOrExit
(
error
=
aFrameBuilder
.
AppendUint8
(
ip6Header
.
GetHopLimit
(
)
)
)
;
lowpan.cpp:330
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
Call Tree
from
examples
ot::Ip6::Header::GetHopLimit() const
is called by 3 functions:
ot::Lowpan::Lowpan::Compress()
ot::Ip6::Ip6::Receive()
ot::Ip6::Ip6::HandleDatagram()
All items filtered out
ot::Ip6::Header::GetHopLimit() const
All items filtered out
Data Use
from
examples
ot::Ip6::Header::GetHopLimit() const
reads 1 variable:
ot::Ip6::Header::mHopLimit
All items filtered out
ot::Ip6::Header::GetHopLimit() 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