Home
last modified time | relevance | path

Searched refs:GetHeaderLength (Results 1 – 8 of 8) sorted by relevance

/openthread-latest/src/core/mac/
Dmac_frame.cpp848 uint8_t Frame::GetHeaderLength(void) const { return static_cast<uint8_t>(GetPayload() - mPsdu); } in GetHeaderLength() function in ot::Mac::Frame
892 uint16_t Frame::GetMaxPayloadLength(void) const { return GetMtu() - (GetHeaderLength() + GetFooterL… in GetMaxPayloadLength()
894 uint16_t Frame::GetPayloadLength(void) const { return mLength - (GetHeaderLength() + GetFooterLengt… in GetPayloadLength()
896 void Frame::SetPayloadLength(uint16_t aLength) { mLength = GetHeaderLength() + GetFooterLength() + … in SetPayloadLength()
1358 aesCcm.Init(GetHeaderLength(), GetPayloadLength(), tagLength, nonce, sizeof(nonce)); in ProcessTransmitAesCcm()
1359 aesCcm.Header(GetHeader(), GetHeaderLength()); in ProcessTransmitAesCcm()
1539 aesCcm.Init(GetHeaderLength(), GetPayloadLength(), tagLength, nonce, sizeof(nonce)); in ProcessReceiveAesCcm()
1540 aesCcm.Header(GetHeader(), GetHeaderLength()); in ProcessReceiveAesCcm()
Dmac_frame.hpp512 uint8_t GetHeaderLength(void) const;
/openthread-latest/src/core/thread/
Dlowpan.hpp366 uint16_t GetHeaderLength(void) const;
Dlowpan.cpp1146 uint16_t MeshHeader::GetHeaderLength(void) const in GetHeaderLength() function in ot::Lowpan::MeshHeader
Dmesh_forwarder.cpp978 maxPayloadLength = kMeshHeaderFrameMtu - aFrame.GetHeaderLength() - in PrepareDataFrame()
/openthread-latest/src/core/coap/
Dcoap_message.hpp539 uint16_t GetHeaderLength(void) const { return GetHelpData().mHeaderLength; } in GetHeaderLength() function in ot::Coap::Message
/openthread-latest/tests/unit/
Dtest_lowpan.cpp1884 VerifyOrQuit(length == meshHeader.GetHeaderLength()); in TestLowpanMeshHeader()
1913 VerifyOrQuit(length == meshHeader.GetHeaderLength()); in TestLowpanMeshHeader()
Dtest_mac_frame.cpp365 VerifyOrQuit(frame.GetHeaderLength() == testCase.mHeaderLength); in TestMacHeader()