Represents a RX/TX IPv6 message info.
Some of the fields in this struct are applicable to a RX message or a TX message only, e.g., mAveRxRss
is the average RSS of all fragment frames that form a received message and is only applicable for a RX message.
Public Attributes#
IPv6 payload length (exclude IP6 header itself).
RLOC16 of neighbor which sent/received the msg (0xfffe
if no RLOC16).
Source IPv6 address and port (if UDP/TCP)
Destination IPv6 address and port (if UDP/TCP).
Message checksum (valid only for UDP/TCP/ICMP6).
IP Protocol number (OT_IP6_PROTO_*
enumeration).
ICMP6 type if msg is ICMP6, zero otherwise (OT_ICMP6_TYPE_*
enumeration).
RSS of received message or OT_RADIO_INVALID_RSSI if not known.
Indicates whether msg used link security.
Indicates TX success (e.g., ack received). Applicable for TX msg only.
Message priority (OT_HISTORY_TRACKER_MSG_PRIORITY_*
enumeration).
Indicates whether msg was sent/received over a 15.4 radio link.
Indicates whether msg was sent/received over a TREL radio link.
Public Attribute Documentation#
mPayloadLength#
uint16_t otHistoryTrackerMessageInfo::mPayloadLength
IPv6 payload length (exclude IP6 header itself).
148
of file include/openthread/history_tracker.h
mNeighborRloc16#
uint16_t otHistoryTrackerMessageInfo::mNeighborRloc16
RLOC16 of neighbor which sent/received the msg (0xfffe
if no RLOC16).
149
of file include/openthread/history_tracker.h
mSource#
otSockAddr otHistoryTrackerMessageInfo::mSource
Source IPv6 address and port (if UDP/TCP)
150
of file include/openthread/history_tracker.h
mDestination#
otSockAddr otHistoryTrackerMessageInfo::mDestination
Destination IPv6 address and port (if UDP/TCP).
151
of file include/openthread/history_tracker.h
mChecksum#
uint16_t otHistoryTrackerMessageInfo::mChecksum
Message checksum (valid only for UDP/TCP/ICMP6).
152
of file include/openthread/history_tracker.h
mIpProto#
uint8_t otHistoryTrackerMessageInfo::mIpProto
IP Protocol number (OT_IP6_PROTO_*
enumeration).
153
of file include/openthread/history_tracker.h
mIcmp6Type#
uint8_t otHistoryTrackerMessageInfo::mIcmp6Type
ICMP6 type if msg is ICMP6, zero otherwise (OT_ICMP6_TYPE_*
enumeration).
154
of file include/openthread/history_tracker.h
mAveRxRss#
int8_t otHistoryTrackerMessageInfo::mAveRxRss
RSS of received message or OT_RADIO_INVALID_RSSI if not known.
155
of file include/openthread/history_tracker.h
mLinkSecurity#
bool otHistoryTrackerMessageInfo::mLinkSecurity
Indicates whether msg used link security.
156
of file include/openthread/history_tracker.h
mTxSuccess#
bool otHistoryTrackerMessageInfo::mTxSuccess
Indicates TX success (e.g., ack received). Applicable for TX msg only.
157
of file include/openthread/history_tracker.h
mPriority#
uint8_t otHistoryTrackerMessageInfo::mPriority
Message priority (OT_HISTORY_TRACKER_MSG_PRIORITY_*
enumeration).
158
of file include/openthread/history_tracker.h
mRadioIeee802154#
bool otHistoryTrackerMessageInfo::mRadioIeee802154
Indicates whether msg was sent/received over a 15.4 radio link.
159
of file include/openthread/history_tracker.h
mRadioTrelUdp6#
bool otHistoryTrackerMessageInfo::mRadioTrelUdp6
Indicates whether msg was sent/received over a TREL radio link.
160
of file include/openthread/history_tracker.h