ESP-IDF
ot::Ip6::Icmp::Header::GetSequence() 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::Ip6::Icmp::Header::GetSequence() const
ot::Ip6::Icmp::Header::GetSequence() const method
Returns the ICMPv6 message sequence for Echo Requests and Replies.
Syntax
Show:
Summary
Declaration
from
icmp6.hpp:177
uint16_t
GetSequence
(
void
)
const
;
Return value
The ICMPv6 message sequence.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetSequence
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mData
.
m16
[
1
]
)
;
}
icmp6.hpp:177
LogInfo
(
"Sent echo request: (seq = %d)"
,
icmpHeader
.
GetSequence
(
)
)
;
icmp6.cpp:71
ot::Ip6::Icmp
ot::Ip6::Icmp::SendEchoRequest()
LogInfo
(
"Sent Echo Reply (seq = %d)"
,
icmp6Header
.
GetSequence
(
)
)
;
icmp6.cpp:212
ot::Ip6::Icmp
ot::Ip6::Icmp::HandleEchoRequest()
reply
.
mSequenceNumber
=
aIcmpHeader
.
GetSequence
(
)
;
ping_sender.cpp:205
ot::Utils::PingSender
ot::Utils::PingSender::HandleIcmpReceive()
if
(
!
mStatistics
.
mIsMulticast
&&
mConfig
.
mCount
==
0
&&
aIcmpHeader
.
GetSequence
(
)
==
mTargetEchoSequence
)
ping_sender.cpp:217
ot::Utils::PingSender
ot::Utils::PingSender::HandleIcmpReceive()
if
(
!
mStatistics
.
mIsMulticast
&&
mConfig
.
mCount
==
0
&&
aIcmpHeader
.
GetSequence
(
)
==
mTargetEchoSequence
)
ping_sender.cpp:223
ot::Utils::PingSender
ot::Utils::PingSender::HandleIcmpReceive()
Call Tree
from
examples
ot::Ip6::Icmp::Header::GetSequence() const
is called by 3 functions and calls 1 function:
ot::Utils::PingSender::HandleIcmpReceive()
ot::Ip6::Icmp::SendEchoRequest()
ot::Ip6::Icmp::HandleEchoRequest()
All items filtered out
ot::Ip6::Icmp::Header::GetSequence() const
ot::BigEndian::HostSwap16()
All items filtered out
Data Use
from
examples
ot::Ip6::Icmp::Header::GetSequence() const
reads 2 variables:
otIcmp6Header::
::m16
otIcmp6Header::mData
All items filtered out
ot::Ip6::Icmp::Header::GetSequence() 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