Home
last modified time | relevance | path

Searched refs:headerLength (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/tests/unit/
Dtest_aes.cpp62 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/
Dlowpan.cpp1088 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()
Dmesh_forwarder_ftd.cpp857 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()
Dmesh_forwarder.cpp263 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/
Dcoap_message.cpp150 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()