Searched refs:headerLength (Results 1 – 5 of 5) sorted by relevance
/openthread-latest/tests/unit/ |
D | test_aes.cpp | 62 uint32_t headerLength = sizeof(test) - 8; in TestMacBeaconFrame() local 73 aesCcm.Init(headerLength, payloadLength, tagLength, nonce, sizeof(nonce)); in TestMacBeaconFrame() 74 aesCcm.Header(test, headerLength); in TestMacBeaconFrame() 76 aesCcm.Finalize(test + headerLength); in TestMacBeaconFrame() 80 aesCcm.Init(headerLength, payloadLength, tagLength, nonce, sizeof(nonce)); in TestMacBeaconFrame() 81 aesCcm.Header(test, headerLength); in TestMacBeaconFrame() 83 aesCcm.Finalize(test + headerLength); in TestMacBeaconFrame()
|
/openthread-latest/src/core/thread/ |
D | lowpan.cpp | 1088 uint16_t headerLength; in ParseFrom() local 1090 SuccessOrExit(error = ParseFrom(aFrameData.GetBytes(), aFrameData.GetLength(), headerLength)); in ParseFrom() 1091 aFrameData.SkipOver(headerLength); in ParseFrom() 1131 uint16_t headerLength; in ParseFrom() local 1133 return ParseFrom(aMessage, headerLength); in ParseFrom() 1209 uint16_t headerLength; in ParseFrom() local 1211 SuccessOrExit(error = ParseFrom(aFrameData.GetBytes(), aFrameData.GetLength(), headerLength)); in ParseFrom() 1212 aFrameData.SkipOver(headerLength); in ParseFrom()
|
D | mesh_forwarder_ftd.cpp | 857 uint16_t headerLength; in LogMeshFragmentHeader() local 860 SuccessOrExit(meshHeader.ParseFrom(aMessage, headerLength)); in LogMeshFragmentHeader() 865 aOffset = headerLength; in LogMeshFragmentHeader() 867 if (fragmentHeader.ParseFrom(aMessage, aOffset, headerLength) == kErrorNone) in LogMeshFragmentHeader() 870 aOffset += headerLength; in LogMeshFragmentHeader()
|
D | mesh_forwarder.cpp | 263 uint16_t headerLength = 0; in UpdateEcnOrDrop() local 269 IgnoreError(meshHeader.ParseFrom(aMessage, headerLength)); in UpdateEcnOrDrop() 271 offset = headerLength; in UpdateEcnOrDrop() 273 if (fragmentHeader.ParseFrom(aMessage, offset, headerLength) == kErrorNone) in UpdateEcnOrDrop() 276 offset += headerLength; in UpdateEcnOrDrop()
|
/openthread-latest/src/core/coap/ |
D | coap_message.cpp | 150 uint16_t headerLength; in AppendOptionHeader() local 161 headerLength = static_cast<uint16_t>(cur - header); in AppendOptionHeader() 163 …VerifyOrExit(static_cast<uint32_t>(GetLength()) + headerLength + aLength < kMaxHeaderLength, error… in AppendOptionHeader() 165 SuccessOrExit(error = AppendBytes(header, headerLength)); in AppendOptionHeader()
|