/openthread-3.5.0/src/core/common/ |
D | appender.cpp | 41 mShared.mMessage.mMessage = &aMessage; in Appender() 42 mShared.mMessage.mStartOffset = aMessage.GetLength(); in Appender() 58 error = mShared.mMessage.mMessage->AppendBytes(aBuffer, aLength); in AppendBytes() 76 length = mShared.mMessage.mMessage->GetLength() - mShared.mMessage.mStartOffset; in GetAppendedLength()
|
D | appender.hpp | 145 Message &GetMessage(void) const { return *mShared.mMessage.mMessage; } in GetMessage() 173 Message *mMessage; member 175 } mMessage; member
|
/openthread-3.5.0/src/core/net/ |
D | dnssd_server.cpp | 144 request.mMessage = &aMessage; in HandleUdpReceive() 237 mMessage.Reset(Get<Server>().mSocket.NewMessage()); in AllocateAndInitFrom() 238 VerifyOrExit(!mMessage.IsNull(), error = kErrorNoBufs); in AllocateAndInitFrom() 251 error = mMessage->Append(mHeader); in AllocateAndInitFrom() 256 mMessage.Free(); in AllocateAndInitFrom() 266 VerifyOrExit(!mMessage.IsNull()); in Send() 273 IgnoreError(mMessage->SetLength(sizeof(Header))); in Send() 276 mMessage->Write(0, mHeader); in Send() 278 SuccessOrExit(Get<Server>().mSocket.SendTo(*mMessage, aMessageInfo)); in Send() 283 mMessage.Release(); in Send() [all …]
|
D | dns_client.cpp | 181 VerifyOrExit(mMessage != nullptr, error = kErrorNotFound); in CheckForHostNameAlias() 186 …error = ResourceRecord::FindRecord(*mMessage, offset, numRecords, /* aIndex */ 0, aHostName, cname… in CheckForHostNameAlias() 200 aHostName.SetFromMessage(*mMessage, offset); in CheckForHostNameAlias() 201 SuccessOrExit(error = Name::ParseName(*mMessage, offset)); in CheckForHostNameAlias() 228 …SuccessOrExit(error = ResourceRecord::FindRecord(*mMessage, offset, numRecords, aIndex, name, aaaa… in FindHostAddress() 248 error = ResourceRecord::FindRecord(*mMessage, offset, numRecords, aIndex, name, aARecord); in FindARecord() 295 VerifyOrExit(mMessage != nullptr, error = kErrorNotFound); in ReadServiceInfo() 299 …SuccessOrExit(error = ResourceRecord::FindRecord(*mMessage, offset, numRecords, /* aIndex */ 0, aN… in ReadServiceInfo() 306 hostName.SetFromMessage(*mMessage, offset); in ReadServiceInfo() 310 …SuccessOrExit(error = srvRecord.ReadTargetHostName(*mMessage, offset, aServiceInfo.mHostNameBuffer, in ReadServiceInfo() [all …]
|
D | dns_types.cpp | 122 LabelIterator iterator(*mMessage, mOffset); in AppendTo() 477 … : (aName.IsFromMessage() ? CompareName(aMessage, aOffset, *aName.mMessage, aName.mOffset) in CompareName() 490 SuccessOrExit(error = mMessage.Read(mNextLabelOffset, labelLength)); in GetNextLabel() 522 SuccessOrExit(error = mMessage.Read(mNextLabelOffset, pointerValue)); in GetNextLabel() 531 … nextLabelOffset = mMessage.GetOffset() + (HostSwap16(pointerValue) & kPointerLabelOffsetMask); in GetNextLabel() 553 SuccessOrExit(error = mMessage.Read(mLabelStartOffset, aLabelBuffer, mLabelLength)); in ReadLabel() 584 matches = mMessage.CompareBytes(mLabelStartOffset, aName, mLabelLength, CaseInsensitiveMatch); in CompareLabel() 612 …mMessage.CompareBytes(mLabelStartOffset, aOtherIterator.mMessage, aOtherIterator.mLabelStartOffset, in CompareLabel() 625 error = aMessage.AppendBytesFromMessage(mMessage, mLabelStartOffset, mLabelLength); in AppendLabel()
|
D | dns_types.hpp | 569 bool IsEmpty(void) const { return (mString == nullptr) && (mMessage == nullptr); } in IsEmpty() 585 bool IsFromMessage(void) const { return mMessage != nullptr; } in IsFromMessage() 608 mMessage = nullptr; in Set() 622 mMessage = &aMessage; in SetFromMessage() 649 return *mMessage; in GetAsMessage() 1002 : mMessage(aMessage) in LabelIterator() 1017 const Message &mMessage; // Message to read labels from. member 1026 , mMessage(aMessage) in Name() 1034 …const Message *mMessage; // Message containing the encoded name, or `nullptr` if `Name` is not fro… member in ot::Dns::Name
|
D | dnssd_server.hpp | 325 const Message *mMessage; member 383 OwnedPtr<Message> mMessage; member in ot::Dns::ServiceDiscovery::Server::Response
|
D | dns_client.hpp | 330 const Message *mMessage; // The response message. member in ot::Dns::Client::Response
|
/openthread-3.5.0/src/core/thread/ |
D | mle_router.cpp | 676 SuccessOrExit(error = aRxInfo.mMessage.ReadChallengeTlv(challenge)); in HandleLinkRequest() 679 SuccessOrExit(error = Tlv::Find<VersionTlv>(aRxInfo.mMessage, version)); in HandleLinkRequest() 683 switch (aRxInfo.mMessage.ReadLeaderDataTlv(leaderData)) in HandleLinkRequest() 695 switch (Tlv::Find<SourceAddressTlv>(aRxInfo.mMessage, sourceAddress)) in HandleLinkRequest() 732 switch (aRxInfo.mMessage.ReadTlvRequestTlv(requestedTlvList)) in HandleLinkRequest() 744 …neighbor->SetTimeSyncEnabled(Tlv::Find<TimeRequestTlv>(aRxInfo.mMessage, nullptr, 0) == kErrorNone… in HandleLinkRequest() 885 SuccessOrExit(error = Tlv::Find<SourceAddressTlv>(aRxInfo.mMessage, sourceAddress)); in HandleLinkAccept() 897 SuccessOrExit(error = aRxInfo.mMessage.ReadResponseTlv(response)); in HandleLinkAccept() 926 SuccessOrExit(error = Tlv::Find<VersionTlv>(aRxInfo.mMessage, version)); in HandleLinkAccept() 930 SuccessOrExit(error = aRxInfo.mMessage.ReadFrameCounterTlvs(linkFrameCounter, mleFrameCounter)); in HandleLinkAccept() [all …]
|
D | discover_scanner.cpp | 313 …SuccessOrExit(error = Tlv::FindTlvValueStartEndOffsets(aRxInfo.mMessage, Tlv::kDiscovery, offset, … in HandleDiscoveryResponse() 327 IgnoreError(aRxInfo.mMessage.Read(offset, meshcopTlv)); in HandleDiscoveryResponse() 332 IgnoreError(aRxInfo.mMessage.Read(offset, discoveryResponse)); in HandleDiscoveryResponse() 339 SuccessOrExit(error = Tlv::Read<MeshCoP::ExtendedPanIdTlv>(aRxInfo.mMessage, offset, in HandleDiscoveryResponse() 344 IgnoreError(aRxInfo.mMessage.Read(offset, networkName)); in HandleDiscoveryResponse() 364 …SuccessOrExit(error = Tlv::ReadTlvValue(aRxInfo.mMessage, offset, steeringData.GetData(), dataLeng… in HandleDiscoveryResponse() 377 … Tlv::Read<MeshCoP::JoinerUdpPortTlv>(aRxInfo.mMessage, offset, result.mJoinerUdpPort)); in HandleDiscoveryResponse()
|
D | mle.cpp | 2785 SuccessOrExit(error = Tlv::Find<SourceAddressTlv>(aRxInfo.mMessage, sourceAddress)); in HandleAdvertisement() 2789 SuccessOrExit(error = aRxInfo.mMessage.ReadLeaderDataTlv(leaderData)); in HandleAdvertisement() 2853 …if (Tlv::FindTlvValueOffset(aRxInfo.mMessage, Tlv::kLinkMetricsReport, offset, length) == kErrorNo… in HandleDataResponse() 2855 Get<LinkMetrics::Initiator>().HandleReport(aRxInfo.mMessage, offset, length, in HandleDataResponse() 2908 SuccessOrExit(error = aRxInfo.mMessage.ReadLeaderDataTlv(leaderData)); in HandleLeaderData() 2929 switch (Tlv::Find<ActiveTimestampTlv>(aRxInfo.mMessage, activeTimestamp)) in HandleLeaderData() 2939 …(Tlv::FindTlvValueOffset(aRxInfo.mMessage, Tlv::kActiveDataset, activeDatasetOffset, activeDataset… in HandleLeaderData() 2955 switch (Tlv::Find<PendingTimestampTlv>(aRxInfo.mMessage, pendingTimestamp)) in HandleLeaderData() 2965 (Tlv::FindTlvValueOffset(aRxInfo.mMessage, Tlv::kPendingDataset, pendingDatasetOffset, in HandleLeaderData() 2980 …if (Tlv::FindTlvValueOffset(aRxInfo.mMessage, Tlv::kNetworkData, networkDataOffset, networkDataLen… in HandleLeaderData() [all …]
|
D | mle.hpp | 1053 : mMessage(static_cast<RxMessage &>(aMessage)) in RxInfo() 1064 RxMessage &mMessage; // The MLE message. member
|
/openthread-3.5.0/src/core/utils/ |
D | mesh_diag.cpp | 413 ip6AddrIterator.mMessage = &aMessage; in ProcessChildrenIp6AddrsAnswer() 537 mMessage = &aMessage; in InitFrom() 547 VerifyOrExit(mMessage != nullptr, error = kErrorNotFound); in GetNextAddress() 550 IgnoreError(mMessage->Read(mCurOffset, aAddress)); in GetNextAddress() 565 mMessage = &aMessage; in InitFrom() 577 VerifyOrExit(mMessage != nullptr, error = kErrorNotFound); in GetNextChildInfo() 580 IgnoreError(mMessage->Read(mCurOffset, entry)); in GetNextChildInfo() 587 aChildInfo.mIsThisDevice = (aChildInfo.mRloc16 == mMessage->Get<Mle::Mle>().GetRloc16()); in GetNextChildInfo() 588 …aChildInfo.mIsBorderRouter = mMessage->Get<NetworkData::Leader>().ContainsBorderRouterWithRloc(aCh… in GetNextChildInfo()
|
D | mesh_diag.hpp | 107 const Message *mMessage; member in ot::Utils::MeshDiag::Ip6AddrIterator 155 const Message *mMessage; member in ot::Utils::MeshDiag::ChildIterator
|
/openthread-3.5.0/include/openthread/ |
D | coap.h | 169 const otMessage *mMessage; ///< CoAP message member
|
/openthread-3.5.0/src/core/coap/ |
D | coap_message.hpp | 1147 const Message &GetMessage(void) const { return *static_cast<const Message *>(mMessage); } in GetMessage()
|
D | coap_message.cpp | 470 mMessage = &aMessage; in Init()
|