Home
last modified time | relevance | path

Searched refs:aMessage (Results 1 – 25 of 191) sorted by relevance

12345678

/openthread-3.5.0/src/core/api/
Dmessage_api.cpp43 void otMessageFree(otMessage *aMessage) { AsCoreType(aMessage).Free(); } in otMessageFree() argument
45 uint16_t otMessageGetLength(const otMessage *aMessage) { return AsCoreType(aMessage).GetLength(); } in otMessageGetLength() argument
47 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength) { return AsCoreType(aMessage).Set… in otMessageSetLength() argument
49 uint16_t otMessageGetOffset(const otMessage *aMessage) { return AsCoreType(aMessage).GetOffset(); } in otMessageGetOffset() argument
51 void otMessageSetOffset(otMessage *aMessage, uint16_t aOffset) { AsCoreType(aMessage).SetOffset(aOf… in otMessageSetOffset() argument
53 bool otMessageIsLinkSecurityEnabled(const otMessage *aMessage) { return AsCoreType(aMessage).IsLink… in otMessageIsLinkSecurityEnabled() argument
55 void otMessageSetDirectTransmission(otMessage *aMessage, bool aEnabled) in otMessageSetDirectTransmission() argument
59 AsCoreType(aMessage).SetDirectTransmission(); in otMessageSetDirectTransmission()
63 AsCoreType(aMessage).ClearDirectTransmission(); in otMessageSetDirectTransmission()
67 int8_t otMessageGetRss(const otMessage *aMessage) { return AsCoreType(aMessage).GetAverageRss(); } in otMessageGetRss() argument
[all …]
Dcoap_api.cpp51 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode) in otCoapMessageInit() argument
53 AsCoapMessage(aMessage).Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInit()
67 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength) in otCoapMessageSetToken() argument
69 return AsCoapMessage(aMessage).SetToken(aToken, aTokenLength); in otCoapMessageSetToken()
72 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength) in otCoapMessageGenerateToken() argument
74 IgnoreError(AsCoapMessage(aMessage).GenerateRandomToken(aTokenLength)); in otCoapMessageGenerateToken()
77 otError otCoapMessageAppendContentFormatOption(otMessage *aMessage, otCoapOptionContentFormat aCont… in otCoapMessageAppendContentFormatOption() argument
79 return AsCoapMessage(aMessage).AppendContentFormatOption(aContentFormat); in otCoapMessageAppendContentFormatOption()
82 otError otCoapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const vo… in otCoapMessageAppendOption() argument
84 return AsCoapMessage(aMessage).AppendOption(aNumber, aLength, aValue); in otCoapMessageAppendOption()
[all …]
/openthread-3.5.0/src/core/common/
Dtlvs.cpp57 Error Tlv::AppendTo(Message &aMessage) const { return aMessage.AppendBytes(this, static_cast<uint16… in AppendTo()
59 Error Tlv::FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv) in FindTlv() argument
63 return FindTlv(aMessage, aType, aMaxSize, aTlv, offset); in FindTlv()
66 Error Tlv::FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv, uint16_t &… in FindTlv() argument
71 SuccessOrExit(error = info.FindIn(aMessage, aType)); in FindTlv()
78 aMessage.ReadBytes(info.mOffset, &aTlv, aMaxSize); in FindTlv()
84 Error Tlv::FindTlvValueOffset(const Message &aMessage, uint8_t aType, uint16_t &aValueOffset, uint1… in FindTlvValueOffset() argument
89 SuccessOrExit(error = info.FindIn(aMessage, aType)); in FindTlvValueOffset()
98 Error Tlv::FindTlvValueStartEndOffsets(const Message &aMessage, in FindTlvValueStartEndOffsets() argument
106 SuccessOrExit(error = info.FindIn(aMessage, aType)); in FindTlvValueStartEndOffsets()
[all …]
Dtlvs.hpp175 Error AppendTo(Message &aMessage) const;
191 …static Error ReadTlvValue(const Message &aMessage, uint16_t aOffset, void *aValue, uint8_t aMinLen…
207 …static Error Read(const Message &aMessage, uint16_t aOffset, typename SimpleTlvType::ValueType &aV… in Read() argument
209 return ReadTlvValue(aMessage, aOffset, &aValue, sizeof(aValue)); in Read()
226 …static Error Read(const Message &aMessage, uint16_t aOffset, typename UintTlvType::UintValueType &… in Read() argument
228 return ReadUintTlv(aMessage, aOffset, aValue); in Read()
245 …static Error Read(const Message &aMessage, uint16_t aOffset, typename StringTlvType::StringType &a… in Read() argument
247 return ReadStringTlv(aMessage, aOffset, StringTlvType::kMaxStringLength, aValue); in Read()
264 static Error FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv);
281 …static Error FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv, uint16_…
[all …]
Dmessage.cpp104 void MessagePool::Free(Message *aMessage) in Free() argument
106 OT_ASSERT(aMessage->Next() == nullptr && aMessage->Prev() == nullptr); in Free()
108 FreeBuffers(static_cast<Buffer *>(aMessage)); in Free()
413 Error Message::AppendBytesFromMessage(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in AppendBytesFromMessage() argument
419 VerifyOrExit(aMessage.GetLength() >= aOffset + aLength, error = kErrorParse); in AppendBytesFromMessage()
422 aMessage.GetFirstChunk(aOffset, aLength, chunk); in AppendBytesFromMessage()
428 aMessage.GetNextChunk(aLength, chunk); in AppendBytesFromMessage()
714 const Message &aMessage, in WriteBytesFromMessage() argument
718 if ((&aMessage != this) || (aReadOffset >= aWriteOffset)) in WriteBytesFromMessage()
722 aMessage.GetFirstChunk(aReadOffset, aLength, chunk); in WriteBytesFromMessage()
[all …]
Dmessage.hpp101 #define FreeMessage(aMessage) \ argument
104 if ((aMessage) != nullptr) \
106 (aMessage)->Free(); \
119 #define FreeMessageOnError(aMessage, aError) \ argument
122 if (((aError) != kErrorNone) && ((aMessage) != nullptr)) \
124 (aMessage)->Free(); \
135 #define FreeAndNullMessageOnError(aMessage, aError) \ argument
138 if (((aError) != kErrorNone) && ((aMessage) != nullptr)) \
140 (aMessage)->Free(); \
141 (aMessage) = nullptr; \
[all …]
/openthread-3.5.0/src/core/coap/
Dcoap.cpp149 Message *CoapBase::InitMessage(Message *aMessage, Type aType, Uri aUri) in InitMessage() argument
153 VerifyOrExit(aMessage != nullptr); in InitMessage()
155 SuccessOrExit(error = aMessage->Init(aType, kCodePost, aUri)); in InitMessage()
156 SuccessOrExit(error = aMessage->SetPayloadMarker()); in InitMessage()
159 FreeAndNullMessageOnError(aMessage, error); in InitMessage()
160 return aMessage; in InitMessage()
163 Message *CoapBase::InitResponse(Message *aMessage, const Message &aResponse) in InitResponse() argument
167 VerifyOrExit(aMessage != nullptr); in InitResponse()
169 SuccessOrExit(error = aMessage->SetDefaultResponseHeader(aResponse)); in InitResponse()
170 SuccessOrExit(error = aMessage->SetPayloadMarker()); in InitResponse()
[all …]
Dcoap.hpp178 void HandleRequest(Message &aMessage, const Ip6::MessageInfo &aMessageInfo) const in HandleRequest() argument
180 mHandler(mContext, &aMessage, &aMessageInfo); in HandleRequest()
272 void HandleRequest(Message &aMessage, const Ip6::MessageInfo &aMessageInfo) const in HandleRequest() argument
274 mHandler(mContext, &aMessage, &aMessageInfo); in HandleRequest()
307 …void EnqueueResponse(Message &aMessage, const Ip6::MessageInfo &aMessageInfo, const TxParameters &…
342 Error AppendTo(Message &aMessage) const { return aMessage.Append(*this); } in AppendTo()
343 void ReadFrom(const Message &aMessage);
350 void DequeueResponse(Message &aMessage);
385 …typedef Error (*Interceptor)(const Message &aMessage, const Ip6::MessageInfo &aMessageInfo, void *…
579 Error SendMessage(Message &aMessage,
[all …]
/openthread-3.5.0/src/core/net/
Dchecksum.cpp79 void Checksum::WriteToMessage(uint16_t aOffset, Message &aMessage) const in WriteToMessage()
90 aMessage.Write(aOffset, checksum); in WriteToMessage()
96 const Message &aMessage) in Calculate() argument
99 uint16_t length = aMessage.GetLength() - aMessage.GetOffset(); in Calculate()
110 aMessage.GetFirstChunk(aMessage.GetOffset(), length, chunk); in Calculate()
115 aMessage.GetNextChunk(length, chunk); in Calculate()
122 const Message &aMessage) in Calculate() argument
125 uint16_t length = aMessage.GetLength() - aMessage.GetOffset(); in Calculate()
139 aMessage.GetFirstChunk(aMessage.GetOffset(), length, chunk); in Calculate()
144 aMessage.GetNextChunk(length, chunk); in Calculate()
[all …]
Dip6.cpp177 Error Ip6::AddMplOption(Message &aMessage, Header &aHeader) in AddMplOption() argument
191 SuccessOrExit(error = aMessage.PrependBytes(&padOption, padOption.GetSize())); in AddMplOption()
194 SuccessOrExit(error = aMessage.PrependBytes(&mplOption, mplOption.GetSize())); in AddMplOption()
195 SuccessOrExit(error = aMessage.Prepend(hbhHeader)); in AddMplOption()
203 Error Ip6::AddTunneledMplOption(Message &aMessage, Header &aHeader) in AddTunneledMplOption() argument
221 SuccessOrExit(error = AddMplOption(aMessage, tunnelHeader)); in AddTunneledMplOption()
222 SuccessOrExit(error = aMessage.Prepend(tunnelHeader)); in AddTunneledMplOption()
228 Error Ip6::InsertMplOption(Message &aMessage, Header &aHeader) in InsertMplOption() argument
237 aMessage.RemoveHeader(sizeof(aHeader)); in InsertMplOption()
247 SuccessOrExit(error = aMessage.Read(0, hbh)); in InsertMplOption()
[all …]
Ddhcp6_server.cpp182 void Server::HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInf… in HandleUdpReceive() argument
184 … static_cast<Server *>(aContext)->HandleUdpReceive(AsCoreType(aMessage), AsCoreType(aMessageInfo)); in HandleUdpReceive()
187 void Server::HandleUdpReceive(Message &aMessage, const Ip6::MessageInfo &aMessageInfo) in HandleUdpReceive() argument
191 SuccessOrExit(aMessage.Read(aMessage.GetOffset(), header)); in HandleUdpReceive()
192 aMessage.MoveOffset(sizeof(header)); in HandleUdpReceive()
197 ProcessSolicit(aMessage, aMessageInfo.GetPeerAddr(), header.GetTransactionId()); in HandleUdpReceive()
203 void Server::ProcessSolicit(Message &aMessage, const Ip6::Address &aDst, const TransactionId &aTran… in ProcessSolicit() argument
208 uint16_t offset = aMessage.GetOffset(); in ProcessSolicit()
209 uint16_t length = aMessage.GetLength() - aMessage.GetOffset(); in ProcessSolicit()
212 … VerifyOrExit((optionOffset = FindOption(aMessage, offset, length, kOptionClientIdentifier)) > 0); in ProcessSolicit()
[all …]
Ddhcp6_client.hpp122 Error AppendHeader(Message &aMessage);
123 Error AppendClientIdentifier(Message &aMessage);
124 Error AppendIaNa(Message &aMessage, uint16_t aRloc16);
125 Error AppendIaAddress(Message &aMessage, uint16_t aRloc16);
126 Error AppendElapsedTime(Message &aMessage);
127 Error AppendRapidCommit(Message &aMessage);
129 …static void HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInf…
130 void HandleUdpReceive(Message &aMessage, const Ip6::MessageInfo &aMessageInfo);
132 void ProcessReply(Message &aMessage);
133 uint16_t FindOption(Message &aMessage, uint16_t aOffset, uint16_t aLength, Code aCode);
[all …]
Ddhcp6_server.hpp190 Error AppendHeader(Message &aMessage, const TransactionId &aTransactionId);
191 Error AppendClientIdentifier(Message &aMessage, ClientIdentifier &aClientId);
192 Error AppendServerIdentifier(Message &aMessage);
193 Error AppendIaNa(Message &aMessage, IaNa &aIaNa);
194 Error AppendStatusCode(Message &aMessage, Status aStatusCode);
195 Error AppendIaAddress(Message &aMessage, ClientIdentifier &aClientId);
196 Error AppendRapidCommit(Message &aMessage);
197 Error AppendVendorSpecificInformation(Message &aMessage);
199 Error AddIaAddress(Message &aMessage, const Ip6::Address &aPrefix, ClientIdentifier &aClientId);
201 …static void HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInf…
[all …]
Ddhcp6_client.cpp295 Error Client::AppendHeader(Message &aMessage) in AppendHeader() argument
302 return aMessage.Append(header); in AppendHeader()
305 Error Client::AppendElapsedTime(Message &aMessage) in AppendElapsedTime() argument
311 return aMessage.Append(option); in AppendElapsedTime()
314 Error Client::AppendClientIdentifier(Message &aMessage) in AppendClientIdentifier() argument
326 return aMessage.Append(option); in AppendClientIdentifier()
329 Error Client::AppendIaNa(Message &aMessage, uint16_t aRloc16) in AppendIaNa() argument
359 SuccessOrExit(error = aMessage.Append(option)); in AppendIaNa()
365 Error Client::AppendIaAddress(Message &aMessage, uint16_t aRloc16) in AppendIaAddress() argument
382 SuccessOrExit(error = aMessage.Append(option)); in AppendIaAddress()
[all …]
Ddns_types.cpp105 Error Name::AppendTo(Message &aMessage) const in AppendTo()
111 error = AppendTerminator(aMessage); in AppendTo()
115 error = AppendName(GetAsCString(), aMessage); in AppendTo()
131 SuccessOrExit(error = iterator.AppendLabel(aMessage)); in AppendTo()
136 error = AppendTerminator(aMessage); in AppendTo()
150 Error Name::AppendLabel(const char *aLabel, Message &aMessage) in AppendLabel() argument
152 return AppendLabel(aLabel, static_cast<uint8_t>(StringLength(aLabel, kMaxLabelSize)), aMessage); in AppendLabel()
155 Error Name::AppendLabel(const char *aLabel, uint8_t aLength, Message &aMessage) in AppendLabel() argument
161 SuccessOrExit(error = aMessage.Append(aLength)); in AppendLabel()
162 error = aMessage.AppendBytes(aLabel, aLength); in AppendLabel()
[all …]
Dsrp_client.cpp828 Error Client::PrepareUpdateMessage(Message &aMessage) in PrepareUpdateMessage() argument
865 SuccessOrExit(error = aMessage.Append(header)); in PrepareUpdateMessage()
869 info.mDomainNameOffset = aMessage.GetLength(); in PrepareUpdateMessage()
870 SuccessOrExit(error = Dns::Name::AppendName(mDomainName, aMessage)); in PrepareUpdateMessage()
871 SuccessOrExit(error = aMessage.Append(Dns::Zone())); in PrepareUpdateMessage()
875 SuccessOrExit(error = AppendServiceInstructions(aMessage, info)); in PrepareUpdateMessage()
876 SuccessOrExit(error = AppendHostDescriptionInstruction(aMessage, info)); in PrepareUpdateMessage()
879 aMessage.Write(kHeaderOffset, header); in PrepareUpdateMessage()
883 SuccessOrExit(error = AppendUpdateLeaseOptRecord(aMessage)); in PrepareUpdateMessage()
884 SuccessOrExit(error = AppendSignature(aMessage, info)); in PrepareUpdateMessage()
[all …]
Dip6.hpp206 Error SendDatagram(Message &aMessage, MessageInfo &aMessageInfo, uint8_t aIpProto);
224 Error SendRaw(Message &aMessage, bool aAllowLoopBackToHost);
240 Error HandleDatagram(Message &aMessage,
388 void EnqueueDatagram(Message &aMessage);
389 Error PassToHost(Message &aMessage,
395 Error HandleExtensionHeaders(Message &aMessage,
401 Error FragmentDatagram(Message &aMessage, uint8_t aIpProto);
402 Error HandleFragment(Message &aMessage, MessageOrigin aOrigin, MessageInfo &aMessageInfo);
407 … void SendIcmpError(Message &aMessage, Icmp::Header::Type aIcmpType, Icmp::Header::Code aIcmpCode);
409 Error AddMplOption(Message &aMessage, Header &aHeader);
[all …]
/openthread-3.5.0/include/openthread/
Dmessage.h96 void otMessageFree(otMessage *aMessage);
115 uint16_t otMessageGetLength(const otMessage *aMessage);
135 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength);
153 uint16_t otMessageGetOffset(const otMessage *aMessage);
170 void otMessageSetOffset(otMessage *aMessage, uint16_t aOffset);
181 bool otMessageIsLinkSecurityEnabled(const otMessage *aMessage);
192 void otMessageSetDirectTransmission(otMessage *aMessage, bool aEnabled);
200 int8_t otMessageGetRss(const otMessage *aMessage);
221 otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength);
242 uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16_t aLength);
[all …]
Dcoap.h345 otMessage *aMessage,
357 typedef void (*otCoapRequestHandler)(void *aContext, otMessage *aMessage, const otMessageInfo *aMes…
493 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode);
522 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength);
531 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength);
552 otError otCoapMessageAppendContentFormatOption(otMessage *aMessage, otCoapOptionContentFormat aCont…
567 otError otCoapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const vo…
583 otError otCoapMessageAppendUintOption(otMessage *aMessage, uint16_t aNumber, uint32_t aValue);
596 otError otCoapMessageAppendObserveOption(otMessage *aMessage, uint32_t aObserve);
609 otError otCoapMessageAppendUriPathOptions(otMessage *aMessage, const char *aUriPath);
[all …]
/openthread-3.5.0/src/core/meshcop/
Dborder_agent.cpp61 const Coap::Message &aMessage, in Init() argument
66 mMessageId = aMessage.GetMessageId(); in Init()
69 mType = aMessage.GetType(); in Init()
70 mTokenLength = aMessage.GetTokenLength(); in Init()
71 memcpy(mToken, aMessage.GetToken(), mTokenLength); in Init()
74 Error BorderAgent::ForwardContext::ToHeader(Coap::Message &aMessage, uint8_t aCode) in ToHeader() argument
78 aMessage.Init(Coap::kTypeNonConfirmable, static_cast<Coap::Code>(aCode)); in ToHeader()
82 aMessage.Init(Coap::kTypeAck, static_cast<Coap::Code>(aCode)); in ToHeader()
87 aMessage.SetMessageId(mMessageId); in ToHeader()
90 return aMessage.SetToken(mToken, mTokenLength); in ToHeader()
[all …]
Ddataset_manager_ftd.cpp65 Error DatasetManager::AppendMleDatasetTlv(Message &aMessage) const in AppendMleDatasetTlv()
71 return dataset.AppendMleDatasetTlv(GetType(), aMessage); in AppendMleDatasetTlv()
74 Error DatasetManager::HandleSet(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo) in HandleSet() argument
77 uint16_t offset = aMessage.GetOffset(); in HandleSet()
94 while (offset < aMessage.GetLength()) in HandleSet()
96 SuccessOrExit(aMessage.Read(offset, tlv)); in HandleSet()
102 VerifyOrExit((offset - aMessage.GetOffset()) <= Dataset::kMaxSize); in HandleSet()
105 SuccessOrExit(Tlv::Find<ActiveTimestampTlv>(aMessage, activeTimestamp)); in HandleSet()
111 SuccessOrExit(Tlv::Find<PendingTimestampTlv>(aMessage, pendingTimestamp)); in HandleSet()
120 if (Tlv::FindTlv(aMessage, channel) == kErrorNone) in HandleSet()
[all …]
/openthread-3.5.0/src/core/thread/
Dmesh_forwarder.cpp205 void MeshForwarder::RemoveMessage(Message &aMessage) in RemoveMessage() argument
207 PriorityQueue *queue = aMessage.GetPriorityQueue(); in RemoveMessage()
216 IgnoreError(mIndirectSender.RemoveMessageFromSleepyChild(aMessage, child)); in RemoveMessage()
220 if (mSendMessage == &aMessage) in RemoveMessage()
226 LogMessage(kMessageEvict, aMessage, kErrorNoBufs); in RemoveMessage()
227 queue->DequeueAndFree(aMessage); in RemoveMessage()
250 Error MeshForwarder::UpdateEcnOrDrop(Message &aMessage, bool aPreparingToSend) in UpdateEcnOrDrop() argument
264 uint32_t timeInQueue = TimerMilli::GetNow() - aMessage.GetTimestamp(); in UpdateEcnOrDrop()
268 VerifyOrExit(aMessage.IsDirectTransmission() && (aMessage.GetOffset() == 0)); in UpdateEcnOrDrop()
270 if (aMessage.GetType() == Message::kTypeIp6) in UpdateEcnOrDrop()
[all …]
Dnetwork_diagnostic.cpp138 Error Server::AppendIp6AddressList(Message &aMessage) in AppendIp6AddressList() argument
155 SuccessOrExit(error = aMessage.Append(tlv)); in AppendIp6AddressList()
163 SuccessOrExit(error = aMessage.Append(extTlv)); in AppendIp6AddressList()
168 SuccessOrExit(error = aMessage.Append(addr.GetAddress())); in AppendIp6AddressList()
176 Error Server::AppendChildTable(Message &aMessage) in AppendChildTable() argument
191 SuccessOrExit(error = aMessage.Append(tlv)); in AppendChildTable()
199 SuccessOrExit(error = aMessage.Append(extTlv)); in AppendChildTable()
220 SuccessOrExit(error = aMessage.Append(entry)); in AppendChildTable()
228 Error Server::AppendMacCounters(Message &aMessage) in AppendMacCounters() argument
247 return tlv.AppendTo(aMessage); in AppendMacCounters()
[all …]
Dmesh_forwarder_mtd.cpp40 Error MeshForwarder::SendMessage(Message &aMessage) in SendMessage() argument
42 aMessage.SetDirectTransmission(); in SendMessage()
43 aMessage.SetOffset(0); in SendMessage()
44 aMessage.SetDatagramTag(0); in SendMessage()
45 aMessage.SetTimestampToNow(); in SendMessage()
47 mSendQueue.Enqueue(aMessage); in SendMessage()
51 ApplyDirectTxQueueLimit(aMessage); in SendMessage()
/openthread-3.5.0/src/core/utils/
Dmesh_diag.cpp117 otMessage *aMessage, in HandleDiagGetResponse() argument
121 …static_cast<MeshDiag *>(aContext)->HandleDiagGetResponse(AsCoapMessagePtr(aMessage), AsCoreTypePtr… in HandleDiagGetResponse()
125 void MeshDiag::HandleDiagGetResponse(Coap::Message *aMessage, const Ip6::MessageInfo *aMessageInfo,… in HandleDiagGetResponse() argument
135 VerifyOrExit(aMessage != nullptr); in HandleDiagGetResponse()
138 SuccessOrExit(routerInfo.ParseFrom(*aMessage)); in HandleDiagGetResponse()
140 if (ip6AddrIterator.InitFrom(*aMessage) == kErrorNone) in HandleDiagGetResponse()
145 if (childIterator.InitFrom(*aMessage, routerInfo.mRloc16) == kErrorNone) in HandleDiagGetResponse()
242 bool MeshDiag::HandleDiagnosticGetAnswer(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageI… in HandleDiagnosticGetAnswer() argument
249 didPorcess = ProcessChildTableAnswer(aMessage, aMessageInfo); in HandleDiagnosticGetAnswer()
253 didPorcess = ProcessChildrenIp6AddrsAnswer(aMessage, aMessageInfo); in HandleDiagnosticGetAnswer()
[all …]

12345678