This structure 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#

uint16_t

IPv6 payload length (exclude IP6 header itself).

uint16_t

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).

uint16_t

Message checksum (valid only for UDP/TCP/ICMP6).

uint8_t

IP Protocol number (OT_IP6_PROTO_* enumeration).

uint8_t

ICMP6 type if msg is ICMP6, zero otherwise (OT_ICMP6_TYPE_* enumeration).

int8_t

RSS of received message or OT_RADIO_INVALID_RSSI if not known.

bool

Indicates whether msg used link security.

bool

Indicates TX success (e.g., ack received). Applicable for TX msg only.

uint8_t

Message priority (OT_HISTORY_TRACKER_MSG_PRIORITY_* enumeration).

bool

Indicates whether msg was sent/received over a 15.4 radio link.

bool

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).


Definition at line 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).


Definition at line 149 of file include/openthread/history_tracker.h

mSource#

otSockAddr otHistoryTrackerMessageInfo::mSource

Source IPv6 address and port (if UDP/TCP)


Definition at line 150 of file include/openthread/history_tracker.h

mDestination#

otSockAddr otHistoryTrackerMessageInfo::mDestination

Destination IPv6 address and port (if UDP/TCP).


Definition at line 151 of file include/openthread/history_tracker.h

mChecksum#

uint16_t otHistoryTrackerMessageInfo::mChecksum

Message checksum (valid only for UDP/TCP/ICMP6).


Definition at line 152 of file include/openthread/history_tracker.h

mIpProto#

uint8_t otHistoryTrackerMessageInfo::mIpProto

IP Protocol number (OT_IP6_PROTO_* enumeration).


Definition at line 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).


Definition at line 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.


Definition at line 155 of file include/openthread/history_tracker.h

mLinkSecurity#

bool otHistoryTrackerMessageInfo::mLinkSecurity

Indicates whether msg used link security.


Definition at line 156 of file include/openthread/history_tracker.h

mTxSuccess#

bool otHistoryTrackerMessageInfo::mTxSuccess

Indicates TX success (e.g., ack received). Applicable for TX msg only.


Definition at line 157 of file include/openthread/history_tracker.h

mPriority#

uint8_t otHistoryTrackerMessageInfo::mPriority

Message priority (OT_HISTORY_TRACKER_MSG_PRIORITY_* enumeration).


Definition at line 158 of file include/openthread/history_tracker.h

mRadioIeee802154#

bool otHistoryTrackerMessageInfo::mRadioIeee802154

Indicates whether msg was sent/received over a 15.4 radio link.


Definition at line 159 of file include/openthread/history_tracker.h

mRadioTrelUdp6#

bool otHistoryTrackerMessageInfo::mRadioTrelUdp6

Indicates whether msg was sent/received over a TREL radio link.


Definition at line 160 of file include/openthread/history_tracker.h