Home
last modified time | relevance | path

Searched refs:messagePtr (Results 1 – 4 of 4) sorted by relevance

/openthread-3.6.0/src/core/thread/
Dchild_supervision.cpp70 OwnedPtr<Message> messagePtr; in SendMessage() local
75 messagePtr.Reset(Get<MessagePool>().Allocate(Message::kTypeSupervision, sizeof(uint8_t))); in SendMessage()
76 VerifyOrExit(messagePtr != nullptr); in SendMessage()
84 SuccessOrExit(messagePtr->Append(childIndex)); in SendMessage()
86 Get<MeshForwarder>().SendMessage(messagePtr.PassOwnership()); in SendMessage()
Dmesh_forwarder_ftd.cpp692 OwnedPtr<Message> messagePtr; in HandleMesh() local
702 messagePtr.Reset( in HandleMesh()
704 VerifyOrExit(messagePtr != nullptr, error = kErrorNoBufs); in HandleMesh()
706 SuccessOrExit(error = meshHeader.AppendTo(*messagePtr)); in HandleMesh()
707 SuccessOrExit(error = messagePtr->AppendData(aFrameData)); in HandleMesh()
709 messagePtr->SetLinkInfo(aLinkInfo); in HandleMesh()
714 messagePtr->SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in HandleMesh()
717 LogMessage(kMessageReceive, *messagePtr, kErrorNone, &aMacSource); in HandleMesh()
724 messagePtr->ClearRadioType(); in HandleMesh()
727 SendMessage(messagePtr.PassOwnership()); in HandleMesh()
Dmesh_forwarder.cpp1725 OwnedPtr<Message> messagePtr; in SendEmptyMessage() local
1731 messagePtr.Reset(Get<MessagePool>().Allocate(Message::kTypeMacEmptyData)); in SendEmptyMessage()
1732 VerifyOrExit(messagePtr != nullptr, error = kErrorNoBufs); in SendEmptyMessage()
1734 SendMessage(messagePtr.PassOwnership()); in SendEmptyMessage()
/openthread-3.6.0/src/core/net/
Dip6.cpp886 OwnedPtr<Message> messagePtr; in HandlePayload() local
901 SuccessOrExit(error = TakeOrCopyMessagePtr(messagePtr, aMessagePtr, aMessageOwnership)); in HandlePayload()
907 error = mTcp.HandleMessage(aIp6Header, *messagePtr, aMessageInfo); in HandlePayload()
911 error = mUdp.HandleMessage(*messagePtr, aMessageInfo); in HandlePayload()
915 error = mIcmp.HandleMessage(*messagePtr, aMessageInfo); in HandlePayload()
944 OwnedPtr<Message> messagePtr; in PassToHost() local
1010 SuccessOrExit(error = TakeOrCopyMessagePtr(messagePtr, aMessagePtr, aMessageOwnership)); in PassToHost()
1012 IgnoreError(RemoveMplOption(*messagePtr)); in PassToHost()
1015 switch (Get<Nat64::Translator>().TranslateFromIp6(*messagePtr)) in PassToHost()
1026 mReceiveIp4DatagramCallback.Invoke(messagePtr.Release()); in PassToHost()
[all …]