Home
last modified time | relevance | path

Searched refs:ParseFrom (Results 1 – 21 of 21) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dlowpan.hpp334 Error ParseFrom(const uint8_t *aFrame, uint16_t aFrameLength, uint16_t &aHeaderLength);
347 Error ParseFrom(FrameData &aFrameData);
360 Error ParseFrom(const Message &aMessage);
374 Error ParseFrom(const Message &aMessage, uint16_t &aHeaderLength);
556 Error ParseFrom(FrameData &aFrameData);
569 Error ParseFrom(const Message &aMessage, uint16_t aOffset, uint16_t &aHeaderLength);
611 Error ParseFrom(const uint8_t *aFrame, uint16_t aFrameLength, uint16_t &aHeaderLength);
Dlowpan.cpp482 SuccessOrExit(error = option.ParseFrom(aMessage, offset, endOffset)); in CompressExtensionHeader()
1095 Error MeshHeader::ParseFrom(FrameData &aFrameData) in ParseFrom() function in ot::Lowpan::MeshHeader
1100 SuccessOrExit(error = ParseFrom(aFrameData.GetBytes(), aFrameData.GetLength(), headerLength)); in ParseFrom()
1107 Error MeshHeader::ParseFrom(const uint8_t *aFrame, uint16_t aFrameLength, uint16_t &aHeaderLength) in ParseFrom() function in ot::Lowpan::MeshHeader
1139 Error MeshHeader::ParseFrom(const Message &aMessage) in ParseFrom() function in ot::Lowpan::MeshHeader
1143 return ParseFrom(aMessage, headerLength); in ParseFrom()
1146 Error MeshHeader::ParseFrom(const Message &aMessage, uint16_t &aHeaderLength) in ParseFrom() function in ot::Lowpan::MeshHeader
1153 return ParseFrom(frame, frameLength, aHeaderLength); in ParseFrom()
1216 Error FragmentHeader::ParseFrom(FrameData &aFrameData) in ParseFrom() function in ot::Lowpan::FragmentHeader
1221 SuccessOrExit(error = ParseFrom(aFrameData.GetBytes(), aFrameData.GetLength(), headerLength)); in ParseFrom()
[all …]
Dmesh_forwarder_ftd.cpp298 IgnoreError(meshHeader.ParseFrom(message)); in RemoveMessages()
373 IgnoreError(meshHeader.ParseFrom(aMessage)); in UpdateMeshRoute()
605 SuccessOrExit(ip6Headers.ParseFrom(aMessage)); in SendIcmpErrorIfDstUnreach()
666 SuccessOrExit(error = meshHeader.ParseFrom(aFrameData)); in HandleMesh()
893 if (fragmentHeader.ParseFrom(frameData) == kErrorNone) in GetForwardFramePriority()
941 SuccessOrExit(meshHeader.ParseFrom(aMessage, headerLength)); in LogMeshFragmentHeader()
948 if (fragmentHeader.ParseFrom(aMessage, aOffset, headerLength) == kErrorNone) in LogMeshFragmentHeader()
Dmesh_forwarder.cpp294 IgnoreError(meshHeader.ParseFrom(aMessage, headerLength)); in UpdateEcnOrDrop()
298 if (fragmentHeader.ParseFrom(aMessage, offset, headerLength) == kErrorNone) in UpdateEcnOrDrop()
1353 SuccessOrExit(error = fragmentHeader.ParseFrom(aFrameData)); in HandleFragment()
1842 SuccessOrExit(headers.ParseFrom(aMessage)); in LogIp6Message()
/openthread-3.4.0/src/core/net/
Dip6_headers.cpp44 Error Header::ParseFrom(const Message &aMessage) in ParseFrom() function in ot::Ip6::Header
72 Error Option::ParseFrom(const Message &aMessage, uint16_t aOffset, uint16_t aEndOffset) in ParseFrom() function in ot::Ip6::Option
Dip6_filter.cpp65 SuccessOrExit(headers.ParseFrom(aMessage)); in Accept()
Dip6_headers.hpp334 Error ParseFrom(const Message &aMessage);
530 Error ParseFrom(const Message &aMessage, uint16_t aOffset, uint16_t aEndOffset);
Dip6.cpp333 IgnoreError(option.ParseFrom(aMessage, offset, endOffset)); in RemoveMplOption()
536 SuccessOrExit(error = option.ParseFrom(aMessage, offset, endOffset)); in HandleOptions()
1075 IgnoreError(header.ParseFrom(aMessage)); in PassToHost()
1091 SuccessOrExit(error = header.ParseFrom(aMessage)); in SendRaw()
1133 SuccessOrExit(error = header.ParseFrom(aMessage)); in HandleDatagram()
1553 Error Headers::ParseFrom(const Message &aMessage) in ParseFrom() function in ot::Ip6::Headers
1559 SuccessOrExit(mIp6Header.ParseFrom(aMessage)); in ParseFrom()
1603 if (fragmentHeader.ParseFrom(frameData) == kErrorNone) in DecompressFrom()
Dip6_address.cpp189 SuccessOrExit(AsCoreType(&mPrefix).ParseFrom(aString, kSlashChar)); in FromString()
540 return ParseFrom(aString, kNullChar); in FromString()
543 Error Address::ParseFrom(const char *aString, char aTerminatorChar) in ParseFrom() function in ot::Ip6::Address
Dnat64_translator.cpp126 if (ip6Header.ParseFrom(aMessage) != kErrorNone) in TranslateFromIp6()
209 VerifyOrExit(ip6Header.ParseFrom(aMessage) != kErrorNone, res = kNotTranslated); in TranslateToIp6()
224 if (ip4Header.ParseFrom(aMessage) != kErrorNone) in TranslateToIp6()
Dip4_types.cpp190 Error Header::ParseFrom(const Message &aMessage) in ParseFrom() function in ot::Ip4::Header
Dicmp6.cpp89 SuccessOrExit(error = headers.ParseFrom(aMessage)); in SendError()
Dip6.hpp473 Error ParseFrom(const Message &aMessage);
Dip4_types.hpp522 Error ParseFrom(const Message &aMessage);
Dip6_address.hpp1049 Error ParseFrom(const char *aString, char aTerminatorChar);
/openthread-3.4.0/src/core/common/
Dtlvs.cpp103 Error Tlv::ParsedInfo::ParseFrom(const Message &aMessage, uint16_t aOffset) in ParseFrom() function in ot::Tlv::ParsedInfo
166 SuccessOrExit(ParseFrom(aMessage, offset)); in FindIn()
191 SuccessOrExit(error = info.ParseFrom(aMessage, aOffset)); in ReadStringTlv()
223 SuccessOrExit(error = info.ParseFrom(aMessage, aOffset)); in ReadTlvValue()
Dtlvs.hpp506 Error ParseFrom(const Message &aMessage, uint16_t aOffset);
/openthread-3.4.0/tests/unit/
Dtest_lowpan.cpp1891 SuccessOrQuit(meshHeader.ParseFrom(frameData)); in TestLowpanMeshHeader()
1899 VerifyOrQuit(meshHeader.ParseFrom(frameData) == kErrorParse, in TestLowpanMeshHeader()
1919 SuccessOrQuit(meshHeader.ParseFrom(frameData)); in TestLowpanMeshHeader()
1927 VerifyOrQuit(meshHeader.ParseFrom(frameData) == kErrorParse, in TestLowpanMeshHeader()
1934 SuccessOrQuit(meshHeader.ParseFrom(frameData)); in TestLowpanMeshHeader()
1946 VerifyOrQuit(meshHeader.ParseFrom(frameData) == kErrorParse, in TestLowpanMeshHeader()
1986 SuccessOrQuit(fragHeader.ParseFrom(frameData)); in TestLowpanFragmentHeader()
1994 VerifyOrQuit(fragHeader.ParseFrom(frameData) == kErrorParse, in TestLowpanFragmentHeader()
2026 SuccessOrQuit(fragHeader.ParseFrom(frameData)); in TestLowpanFragmentHeader()
2034 VerifyOrQuit(fragHeader.ParseFrom(frameData) == kErrorParse, in TestLowpanFragmentHeader()
[all …]
/openthread-3.4.0/src/core/utils/
Dmesh_diag.hpp111 Error ParseFrom(const Message &aMessage);
Dmesh_diag.cpp152 SuccessOrExit(routerInfo.ParseFrom(*aMessage)); in HandleDiagGetResponse()
194 Error MeshDiag::RouterInfo::ParseFrom(const Message &aMessage) in ParseFrom() function in ot::Utils::MeshDiag::RouterInfo
Dhistory_tracker.cpp92 SuccessOrExit(headers.ParseFrom(aMessage)); in RecordMessage()