ESP-IDF
ot::Mac::Frame::GetSecurityEnabled() 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::Mac::Frame::GetSecurityEnabled() const
ot::Mac::Frame::GetSecurityEnabled() const method
Indicates whether or not security is enabled.
Syntax
Show:
Summary
Declaration
from
mac_frame.hpp:249
bool
GetSecurityEnabled
(
void
)
const
;
Return value
TRUE If security is enabled. FALSE If security is not enabled.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
GetSecurityEnabled
(
void
)
const
{
return
IsSecurityEnabled
(
GetFrameControlField
(
)
)
;
}
mac_frame.hpp:249
if
(
frame
->
GetSecurityEnabled
(
)
)
csl_tx_scheduler.cpp:206
ot::CslTxScheduler
ot::CslTxScheduler::HandleFrameRequest()
OT_ASSERT
(
!
aFrame
.
GetSecurityEnabled
(
)
||
aFrame
.
IsHeaderUpdated
(
)
)
;
csl_tx_scheduler.cpp:285
ot::CslTxScheduler
ot::CslTxScheduler::HandleSentFrame()
if
(
aFrame
.
GetSecurityEnabled
(
)
&&
aFrame
.
IsHeaderUpdated
(
)
)
csl_tx_scheduler.cpp:311
ot::CslTxScheduler
ot::CslTxScheduler::HandleSentFrame()
VerifyOrExit
(
aFrame
.
GetSecurityEnabled
(
)
)
;
data_poll_handler.cpp:132
ot::DataPollHandler
ot::DataPollHandler::HandleDataPoll()
if
(
frame
->
GetSecurityEnabled
(
)
)
data_poll_handler.cpp:202
ot::DataPollHandler
ot::DataPollHandler::HandleFrameRequest()
OT_ASSERT
(
!
aFrame
.
GetSecurityEnabled
(
)
||
aFrame
.
IsHeaderUpdated
(
)
)
;
data_poll_handler.cpp:249
ot::DataPollHandler
ot::DataPollHandler::HandleSentFrame()
if
(
aFrame
.
GetSecurityEnabled
(
)
&&
aFrame
.
IsHeaderUpdated
(
)
)
data_poll_handler.cpp:276
ot::DataPollHandler
ot::DataPollHandler::HandleSentFrame()
VerifyOrExit
(
aFrame
.
GetSecurityEnabled
(
)
)
;
data_poll_sender.cpp:332
ot::DataPollSender
ot::DataPollSender::ProcessTxDone()
VerifyOrExit
(
aFrame
.
GetSecurityEnabled
(
)
)
;
mac.cpp:851
ot::Mac::Mac
ot::Mac::Mac::ProcessTransmitSecurity()
VerifyOrExit
(
aFrame
.
GetSecurityEnabled
(
)
,
error
=
kErrorNone
)
;
mac.cpp:1527
ot::Mac::Mac
ot::Mac::Mac::ProcessReceiveSecurity()
VerifyOrExit
(
aAckFrame
.
GetSecurityEnabled
(
)
,
error
=
kErrorNone
)
;
mac.cpp:1684
ot::Mac::Mac
ot::Mac::Mac::ProcessEnhAckSecurity()
if
(
aFrame
->
GetSecurityEnabled
(
)
)
mac.cpp:1898
ot::Mac::Mac
ot::Mac::Mac::HandleReceivedFrame()
VerifyOrExit
(
aFrame
.
IsVersion2015
(
)
&&
aFrame
.
GetSecurityEnabled
(
)
)
;
mac.cpp:2396
ot::Mac::Mac
ot::Mac::Mac::ProcessCsl()
return
static_cast
<
const
Mac
::
Frame
*
>
(
aFrame
)
->
GetSecurityEnabled
(
)
;
mac_frame.cpp:203
otMacFrameIsSecurityEnabled()
VerifyOrExit
(
GetSecurityEnabled
(
)
,
index
=
kInvalidIndex
)
;
mac_frame.cpp:677
ot::Mac::Frame
ot::Mac::Frame::FindSecurityHeaderIndex() const
if
(
GetSecurityEnabled
(
)
)
mac_frame.cpp:897
ot::Mac::Frame
ot::Mac::Frame::SkipSecurityHeaderIndex() const
VerifyOrExit
(
GetSecurityEnabled
(
)
)
;
mac_frame.cpp:1341
ot::Mac::TxFrame
ot::Mac::TxFrame::ProcessTransmitAesCcm()
if
(
aRxFrame
.
GetSecurityEnabled
(
)
)
mac_frame.cpp:1409
ot::Mac::TxFrame
ot::Mac::TxFrame::GenerateEnhAck()
if
(
aRxFrame
.
GetSecurityEnabled
(
)
)
mac_frame.cpp:1444
ot::Mac::TxFrame
ot::Mac::TxFrame::GenerateEnhAck()
VerifyOrExit
(
GetSecurityEnabled
(
)
,
error
=
kErrorNone
)
;
mac_frame.cpp:1522
ot::Mac::RxFrame
ot::Mac::RxFrame::ProcessReceiveAesCcm()
ToYesNo
(
GetSecurityEnabled
(
)
)
,
ToYesNo
(
GetAckRequest
(
)
)
)
;
mac_frame.cpp:1631
ot::Mac::Frame
ot::Mac::Frame::ToInfoString() const
if
(
aFrame
.
GetSecurityEnabled
(
)
)
mesh_forwarder.cpp:63
ot::ThreadLinkInfo
ot::ThreadLinkInfo::SetFrom()
if
(
static_cast
<
Mac
::
TxFrame
*
>
(
aFrame
)
->
GetSecurityEnabled
(
)
&&
headerUpdated
)
ncp_base_radio.cpp:193
ot::Ncp::NcpBase
ot::Ncp::NcpBase::LinkRawTransmitDone()
static_cast
<
Mac
::
TxFrame
*
>
(
mTransmitFrame
)
->
GetSecurityEnabled
(
)
)
radio_spinel.cpp:1571
ot::Spinel::RadioSpinel
ot::Spinel::RadioSpinel::HandleTransmitDone()
VerifyOrExit
(
mTransmitFrame
.
GetSecurityEnabled
(
)
)
;
sub_mac.cpp:357
ot::Mac::SubMac
ot::Mac::SubMac::ProcessTransmitSecurity()
VerifyOrExit
(
!
ShouldHandleTransmitSecurity
(
)
&&
aFrame
.
GetSecurityEnabled
(
)
&&
aFrame
.
IsHeaderUpdated
(
)
)
;
sub_mac.cpp:621
ot::Mac::SubMac
ot::Mac::SubMac::SignalFrameCounterUsedOnTxDone()
if
(
!
mTxFrame
.
GetSecurityEnabled
(
)
)
trel_link.cpp:167
ot::Trel::Link
ot::Trel::Link::BeginTransmit()
Call Tree
from
examples
ot::Mac::Frame::GetSecurityEnabled() const
is called by 24 functions and calls 2 functions:
otMacFrameIsSecurityEnabled()
ot::DataPollHandler::HandleDataPoll()
ot::DataPollHandler::HandleFrameRequest()
ot::DataPollHandler::HandleSentFrame()
ot::DataPollSender::ProcessTxDone()
ot::Mac::Mac::ProcessTransmitSecurity()
ot::Mac::Mac::ProcessReceiveSecurity()
ot::Mac::Mac::ProcessEnhAckSecurity()
ot::Mac::Mac::HandleReceivedFrame()
ot::Mac::Mac::ProcessCsl()
ot::Mac::Frame::FindSecurityHeaderIndex() const
ot::Mac::Frame::SkipSecurityHeaderIndex() const
ot::Mac::TxFrame::ProcessTransmitAesCcm()
ot::Mac::TxFrame::GenerateEnhAck()
ot::Mac::RxFrame::ProcessReceiveAesCcm()
ot::Mac::Frame::ToInfoString() const
ot::Mac::SubMac::ProcessTransmitSecurity()
ot::Mac::SubMac::SignalFrameCounterUsedOnTxDone()
ot::Trel::Link::BeginTransmit()
ot::CslTxScheduler::HandleFrameRequest()
ot::CslTxScheduler::HandleSentFrame()
ot::ThreadLinkInfo::SetFrom()
ot::Spinel::RadioSpinel::HandleTransmitDone()
ot::Ncp::NcpBase::LinkRawTransmitDone()
All items filtered out
ot::Mac::Frame::GetSecurityEnabled() const
ot::Mac::Frame::IsSecurityEnabled()
ot::Mac::Frame::GetFrameControlField() const
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