ESP-IDF
ot::Buffer::Metadata
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/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::Buffer::Metadata
ot::Buffer::Metadata struct
Syntax
Show:
Summary
Declaration
from
message.hpp:180
struct
Metadata
{
bool
mDirectTx
:
1
;
bool
mLinkSecurity
:
1
;
bool
mInPriorityQ
:
1
;
bool
mTxSuccess
:
1
;
bool
mDoNotEvict
:
1
;
bool
mMulticastLoop
:
1
;
bool
mResolvingAddress
:
1
;
bool
mAllowLookbackToHost
:
1
;
bool
mIsDstPanIdBroadcast
:
1
;
#if
OPENTHREAD_CONFIG_MULTI_RADIO
bool
mIsRadioTypeSet
:
1
;
#endif
#if
OPENTHREAD_CONFIG_TIME_SYNC_ENABLE
bool
mTimeSync
:
1
;
#endif
uint8_t
mPriority
:
2
;
uint8_t
mOrigin
:
2
;
#if
OPENTHREAD_CONFIG_MULTI_RADIO
uint8_t
mRadioType
:
2
;
static_assert
(
Mac
::
kNumRadioTypes
<=
(
1
<
<
2
)
,
"mRadioType bitfield cannot store all radio type values"
)
;
#endif
uint8_t
mType
:
3
;
uint8_t
mSubType
:
4
;
uint8_t
mMleCommand
;
uint8_t
mChannel
;
#if
OPENTHREAD_CONFIG_TIME_SYNC_ENABLE
uint8_t
mTimeSyncSeq
;
#endif
uint16_t
mLength
;
uint16_t
mOffset
;
uint16_t
mReserved
;
uint16_t
mMeshDest
;
uint16_t
mPanId
;
uint32_t
mDatagramTag
;
#if
OPENTHREAD_CONFIG_TIME_SYNC_ENABLE
int64_t
mNetworkTimeOffset
;
#endif
TimeMilli
mTimestamp
;
Message
*
mNext
;
Message
*
mPrev
;
MessagePool
*
mMessagePool
;
void
*
mQueue
;
RssAverager
mRssAverager
;
LqiAverager
mLqiAverager
;
#if
OPENTHREAD_FTD
ChildMask
mChildMask
;
#endif
}
;
Fields
Field
Declared as
ot::Buffer::Metadata::mDirectTx
bool
:
1
ot::Buffer::Metadata::mLinkSecurity
bool
:
1
ot::Buffer::Metadata::mInPriorityQ
bool
:
1
ot::Buffer::Metadata::mTxSuccess
bool
:
1
ot::Buffer::Metadata::mDoNotEvict
bool
:
1
ot::Buffer::Metadata::mMulticastLoop
bool
:
1
ot::Buffer::Metadata::mResolvingAddress
bool
:
1
ot::Buffer::Metadata::mAllowLookbackToHost
bool
:
1
ot::Buffer::Metadata::mIsDstPanIdBroadcast
bool
:
1
ot::Buffer::Metadata::mPriority
uint8_t
:
2
ot::Buffer::Metadata::mOrigin
uint8_t
:
2
ot::Buffer::Metadata::mType
uint8_t
:
3
ot::Buffer::Metadata::mSubType
uint8_t
:
4
ot::Buffer::Metadata::mMleCommand
uint8_t
ot::Buffer::Metadata::mChannel
uint8_t
ot::Buffer::Metadata::mLength
uint16_t
ot::Buffer::Metadata::mOffset
uint16_t
ot::Buffer::Metadata::mReserved
uint16_t
ot::Buffer::Metadata::mMeshDest
uint16_t
ot::Buffer::Metadata::mPanId
uint16_t
ot::Buffer::Metadata::mDatagramTag
uint32_t
ot::Buffer::Metadata::mTimestamp
TimeMilli
ot::Buffer::Metadata::mNext
Message
*
ot::Buffer::Metadata::mPrev
Message
*
ot::Buffer::Metadata::mMessagePool
MessagePool
*
ot::Buffer::Metadata::mQueue
void
*
ot::Buffer::Metadata::mRssAverager
RssAverager
ot::Buffer::Metadata::mLqiAverager
LqiAverager
ot::Buffer::Metadata::mChildMask
ChildMask
Examples
References
from
examples
Code
Location
Scope
Referrer
struct
Metadata
message.hpp:180
static_assert
(
kBufferSize
>
sizeof
(
Metadata
)
+
sizeof
(
otMessageBuffer
)
,
"Metadata does not fit in a single buffer"
)
;
message.hpp:231
static
constexpr
uint16_t
kHeadBufferDataSize
=
kBufferDataSize
-
sizeof
(
Metadata
)
;
message.hpp:234
Metadata
&
GetMetadata
(
void
)
{
return
mBuffer
.
mHead
.
mMetadata
;
}
message.hpp:236
ot::Buffer
ot::Buffer::GetMetadata()
const
Metadata
&
GetMetadata
(
void
)
const
{
return
mBuffer
.
mHead
.
mMetadata
;
}
message.hpp:237
ot::Buffer
ot::Buffer::GetMetadata() const
Metadata
mMetadata
;
message.hpp:250
ot::Buffer::
::
::mMetadata
Call Tree
from
examples
All items filtered out
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
Instance
Scope
Location
Project
return
ot::Buffer::GetMetadata()
message.hpp:236
return
ot::Buffer::GetMetadata() const
message.hpp:237
ot::Buffer::
::
::mMetadata
message.hpp:250
Lifecycle
from
examples
All items filtered out
All items filtered out