Home
last modified time | relevance | path

Searched refs:sCounters (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/src/posix/platform/
Dtrel.cpp71 static otPlatTrelCounters sCounters; variable
250 ++sCounters.mTxPackets; in SendPacket()
251 sCounters.mTxBytes += aLength; in SendPacket()
259 ++sCounters.mTxFailure; in SendPacket()
290 ++sCounters.mRxPackets; in ReceivePacket()
291 sCounters.mRxBytes += sRxPacketLength; in ReceivePacket()
383 static void ResetCounters() { memset(&sCounters, 0, sizeof(sCounters)); } in ResetCounters()
598 return &sCounters; in otPlatTrelGetCounters()
/openthread-latest/examples/platforms/simulation/
Dtrel.c80 static otPlatTrelCounters sCounters; variable
317 ++sCounters.mTxPackets; in otPlatTrelSend()
318 sCounters.mTxBytes += aUdpPayloadLen; in otPlatTrelSend()
395 return &sCounters; in otPlatTrelGetCounters()
401 memset(&sCounters, 0, sizeof(sCounters)); in otPlatTrelResetCounters()