otHistoryTrackerMessageInfo Struct Reference

This structure represents a RX/TX IPv6 message info.

#include < include/openthread/history_tracker.h >

Public Attributes

uint16_t mPayloadLength
IPv6 payload length (exclude IP6 header itself).
uint16_t mNeighborRloc16
RLOC16 of neighbor which sent/received the msg ( 0xfffe if no RLOC16).
otSockAddr mSource
Source IPv6 address and port (if UDP/TCP)
otSockAddr mDestination
Destination IPv6 address and port (if UDP/TCP).
uint16_t mChecksum
Message checksum (valid only for UDP/TCP/ICMP6).
uint8_t mIpProto
IP Protocol number ( OT_IP6_PROTO_* enumeration).
uint8_t mIcmp6Type
ICMP6 type if msg is ICMP6, zero otherwise ( OT_ICMP6_TYPE_* enumeration).
int8_t mAveRxRss
RSS of received message or OT_RADIO_INVALI_RSSI if not known.
bool mLinkSecurity : 1
Indicates whether msg used link security.
bool mTxSuccess : 1
Indicates TX success (e.g., ack received). Applicable for TX msg only.
uint8_t mPriority : 2
Message priority ( OT_HISTORY_TRACKER_MSG_PRIORITY_* enumeration).
bool mRadioIeee802154 : 1
Indicates whether msg was sent/received over a 15.4 radio link.
bool mRadioTrelUdp6 : 1
Indicates whether msg was sent/received over a TREL radio link.

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.


The documentation for this struct was generated from the following file:
  • include/openthread/ history_tracker.h