Lines Matching refs:aInfo
1021 const char *History::RadioTypeToString(const otHistoryTrackerMessageInfo &aInfo) in RadioTypeToString() argument
1025 if (aInfo.mRadioTrelUdp6 && aInfo.mRadioIeee802154) in RadioTypeToString()
1029 else if (aInfo.mRadioIeee802154) in RadioTypeToString()
1033 else if (aInfo.mRadioTrelUdp6) in RadioTypeToString()
1041 const char *History::MessageTypeToString(const otHistoryTrackerMessageInfo &aInfo) in MessageTypeToString() argument
1043 const char *str = otIp6ProtoToString(aInfo.mIpProto); in MessageTypeToString()
1045 if (aInfo.mIpProto == OT_IP6_PROTO_ICMP6) in MessageTypeToString()
1047 switch (aInfo.mIcmp6Type) in MessageTypeToString()
1176 void History::OutputRxTxEntryListFormat(const otHistoryTrackerMessageInfo &aInfo, uint32_t aEntryAg… in OutputRxTxEntryListFormat() argument
1185 …utFormat(kIndentSize, "type:%s len:%u checksum:0x%04x sec:%s prio:%s ", MessageTypeToString(aInfo), in OutputRxTxEntryListFormat()
1186 aInfo.mPayloadLength, aInfo.mChecksum, aInfo.mLinkSecurity ? "yes" : "no", in OutputRxTxEntryListFormat()
1187 MessagePriorityToString(aInfo.mPriority)); in OutputRxTxEntryListFormat()
1190 OutputFormat("rss:%d", aInfo.mAveRxRss); in OutputRxTxEntryListFormat()
1194 OutputFormat("tx-success:%s", aInfo.mTxSuccess ? "yes" : "no"); in OutputRxTxEntryListFormat()
1197 …utLine(" %s:0x%04x radio:%s", aIsRx ? "from" : "to", aInfo.mNeighborRloc16, RadioTypeToString(aInf… in OutputRxTxEntryListFormat()
1200 OutputSockAddrLine(aInfo.mSource); in OutputRxTxEntryListFormat()
1203 OutputSockAddrLine(aInfo.mDestination); in OutputRxTxEntryListFormat()
1206 void History::OutputRxTxEntryTableFormat(const otHistoryTrackerMessageInfo &aInfo, uint32_t aEntryA… in OutputRxTxEntryTableFormat() argument
1213 OutputFormat("| %20s | %-16.16s | %5u | 0x%04x | %3s | %4s | ", "", MessageTypeToString(aInfo), in OutputRxTxEntryTableFormat()
1214 aInfo.mPayloadLength, aInfo.mChecksum, aInfo.mLinkSecurity ? "yes" : "no", in OutputRxTxEntryTableFormat()
1215 MessagePriorityToString(aInfo.mPriority)); in OutputRxTxEntryTableFormat()
1219 OutputFormat("%4d | RX ", aInfo.mAveRxRss); in OutputRxTxEntryTableFormat()
1224 OutputFormat(aInfo.mTxSuccess ? " TX " : "TX-F"); in OutputRxTxEntryTableFormat()
1227 if (aInfo.mNeighborRloc16 == kShortAddrBroadcast) in OutputRxTxEntryTableFormat()
1231 else if (aInfo.mNeighborRloc16 == kShortAddrInvalid) in OutputRxTxEntryTableFormat()
1237 OutputFormat("| 0x%04x ", aInfo.mNeighborRloc16); in OutputRxTxEntryTableFormat()
1240 OutputLine("| %5.5s |", RadioTypeToString(aInfo)); in OutputRxTxEntryTableFormat()
1242 otIp6SockAddrToString(&aInfo.mSource, addrString, sizeof(addrString)); in OutputRxTxEntryTableFormat()
1245 otIp6SockAddrToString(&aInfo.mDestination, addrString, sizeof(addrString)); in OutputRxTxEntryTableFormat()