Searched refs:frameLength (Results 1 – 4 of 4) sorted by relevance
/openthread-latest/src/ncp/ |
D | ncp_spi.cpp | 259 uint16_t frameLength; in PrepareNextSpiSendFrame() local 272 frameLength = mTxFrameBuffer.OutFrameGetLength(); in PrepareNextSpiSendFrame() 273 OT_ASSERT(frameLength <= kSpiBufferSize - kSpiHeaderSize); in PrepareNextSpiSendFrame() 279 readLength = mTxFrameBuffer.OutFrameRead(frameLength, sendFrame.GetData()); in PrepareNextSpiSendFrame() 280 OT_ASSERT(readLength == frameLength); in PrepareNextSpiSendFrame() 285 sendFrame.SetHeaderDataLen(frameLength); in PrepareNextSpiSendFrame() 286 mSendFrameLength = frameLength + kSpiHeaderSize; in PrepareNextSpiSendFrame()
|
/openthread-latest/src/lib/spinel/ |
D | spinel_buffer.cpp | 879 uint16_t frameLength = 0; in OutFrameGetLength() local 888 EXPECT(mReadFrameLength == kUnknownFrameLength, frameLength = mReadFrameLength); in OutFrameGetLength() 890 EXPECT(!IsEmpty(), frameLength = 0); in OutFrameGetLength() 923 frameLength += otMessageGetLength(message); in OutFrameGetLength() 929 frameLength += (header & kSegmentHeaderLengthMask); in OutFrameGetLength() 944 mReadFrameLength = frameLength; in OutFrameGetLength() 948 return frameLength; in OutFrameGetLength()
|
/openthread-latest/src/core/thread/ |
D | lowpan.cpp | 1148 uint16_t frameLength; in ParseFrom() local 1150 frameLength = aMessage.ReadBytes(/* aOffset */ 0, frame, sizeof(frame)); in ParseFrom() 1152 return ParseFrom(frame, frameLength, aHeaderLength); in ParseFrom() 1257 uint16_t frameLength; in ParseFrom() local 1259 frameLength = aMessage.ReadBytes(aOffset, frame, sizeof(frame)); in ParseFrom() 1261 return ParseFrom(frame, frameLength, aHeaderLength); in ParseFrom()
|
/openthread-latest/src/core/net/ |
D | ip6.cpp | 1559 uint16_t frameLength; in DecompressFrom() local 1562 frameLength = aMessage.ReadBytes(aOffset, frameBuffer, sizeof(frameBuffer)); in DecompressFrom() 1563 frameData.Init(frameBuffer, frameLength); in DecompressFrom()
|