Searched refs:macCounters (Results 1 – 2 of 2) sorted by relevance
266 const otMacCounters &macCounters = Get<Mac::Mac>().GetCounters(); in FillMacCountersTlv() local268 aMacCountersTlv.SetIfInUnknownProtos(macCounters.mRxOther); in FillMacCountersTlv()269 aMacCountersTlv.SetIfInErrors(macCounters.mRxErrNoFrame + macCounters.mRxErrUnknownNeighbor + in FillMacCountersTlv()270 … macCounters.mRxErrInvalidSrcAddr + macCounters.mRxErrSec + macCounters.mRxErrFcs + in FillMacCountersTlv()271 macCounters.mRxErrOther); in FillMacCountersTlv()272 aMacCountersTlv.SetIfOutErrors(macCounters.mTxErrCca); in FillMacCountersTlv()273 aMacCountersTlv.SetIfInUcastPkts(macCounters.mRxUnicast); in FillMacCountersTlv()274 aMacCountersTlv.SetIfInBroadcastPkts(macCounters.mRxBroadcast); in FillMacCountersTlv()275 … aMacCountersTlv.SetIfInDiscards(macCounters.mRxAddressFiltered + macCounters.mRxDestAddrFiltered + in FillMacCountersTlv()276 macCounters.mRxDuplicated); in FillMacCountersTlv()[all …]
1229 const otMacCounters *macCounters = otLinkGetCounters(mInstance); in ProcessCounters() local1231 OutputLine("TxTotal: %d", macCounters->mTxTotal); in ProcessCounters()1235 OutputLine(kIndentSize, "%s: %u", counter.mName, macCounters->*counter.mValuePtr); in ProcessCounters()1238 OutputLine("RxTotal: %d", macCounters->mRxTotal); in ProcessCounters()1242 OutputLine(kIndentSize, "%s: %u", counter.mName, macCounters->*counter.mValuePtr); in ProcessCounters()