/openthread-2.7.6/src/core/coap/ |
D | coap.cpp | 141 Error CoapBase::Send(ot::Message &aMessage, const Ip6::MessageInfo &aMessageInfo) in Send() argument 146 Get<Utils::Otns>().EmitCoapSend(static_cast<Message &>(aMessage), aMessageInfo); in Send() 149 error = mSender(*this, aMessage, aMessageInfo); in Send() 154 … Get<Utils::Otns>().EmitCoapSendFailure(error, static_cast<Message &>(aMessage), aMessageInfo); in Send() 161 Error CoapBase::SendMessage(Message & aMessage, in SendMessage() argument 169 Error CoapBase::SendMessage(Message & aMessage, in SendMessage() 185 switch (aMessage.GetType()) in SendMessage() 190 … if ((aTransmitHook != nullptr) && (aMessage.ReadBlockOptionValues(kOptionBlock2) == kErrorNone) && in SendMessage() 191 (aMessage.GetBlockWiseBlockNumber() == 0)) in SendMessage() 194 …VerifyOrExit((bufLen = otCoapBlockSizeFromExponent(aMessage.GetBlockWiseBlockSize())) <= kMaxBlock… in SendMessage() [all …]
|
D | coap.hpp | 170 void HandleRequest(Message &aMessage, const Ip6::MessageInfo &aMessageInfo) const in HandleRequest() argument 172 mHandler(mContext, &aMessage, &aMessageInfo); in HandleRequest() 264 void HandleRequest(Message &aMessage, const Ip6::MessageInfo &aMessageInfo) const in HandleRequest() argument 266 mHandler(mContext, &aMessage, &aMessageInfo); in HandleRequest() 299 …void EnqueueResponse(Message &aMessage, const Ip6::MessageInfo &aMessageInfo, const TxParameters &… 334 Error AppendTo(Message &aMessage) const { return aMessage.Append(*this); } in AppendTo() 335 void ReadFrom(const Message &aMessage); 342 void DequeueResponse(Message &aMessage); 377 …typedef Error (*Interceptor)(const Message &aMessage, const Ip6::MessageInfo &aMessageInfo, void *… 477 Error SendMessage(Message & aMessage, [all …]
|
/openthread-2.7.6/src/core/common/ |
D | tlvs.cpp | 58 Error Tlv::AppendTo(Message &aMessage) const in AppendTo() 60 return aMessage.AppendBytes(this, static_cast<uint16_t>(GetSize())); in AppendTo() 63 Error Tlv::FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv) in FindTlv() argument 69 SuccessOrExit(error = Find(aMessage, aType, &offset, &size, nullptr)); in FindTlv() 76 aMessage.ReadBytes(offset, &aTlv, aMaxSize); in FindTlv() 82 Error Tlv::FindTlvOffset(const Message &aMessage, uint8_t aType, uint16_t &aOffset) in FindTlvOffset() argument 84 return Find(aMessage, aType, &aOffset, nullptr, nullptr); in FindTlvOffset() 87 Error Tlv::FindTlvValueOffset(const Message &aMessage, uint8_t aType, uint16_t &aValueOffset, uint1… in FindTlvValueOffset() argument 94 SuccessOrExit(error = Find(aMessage, aType, &offset, &size, &isExtendedTlv)); in FindTlvValueOffset() 111 Error Tlv::Find(const Message &aMessage, uint8_t aType, uint16_t *aOffset, uint16_t *aSize, bool *a… in Find() argument [all …]
|
D | tlvs.hpp | 175 Error AppendTo(Message &aMessage) const; 189 … static Error ReadTlv(const Message &aMessage, uint16_t aOffset, void *aValue, uint8_t aMinLength); 205 …static Error Read(const Message &aMessage, uint16_t aOffset, typename SimpleTlvType::ValueType &aV… in Read() argument 207 return ReadTlv(aMessage, aOffset, &aValue, sizeof(aValue)); in Read() 224 …static Error Read(const Message &aMessage, uint16_t aOffset, typename UintTlvType::UintValueType &… in Read() argument 226 return ReadUintTlv(aMessage, aOffset, aValue); in Read() 243 static Error FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv); 259 template <typename TlvType> static Error FindTlv(const Message &aMessage, TlvType &aTlv) in FindTlv() argument 261 return FindTlv(aMessage, TlvType::kType, sizeof(TlvType), aTlv); in FindTlv() 277 static Error FindTlvOffset(const Message &aMessage, uint8_t aType, uint16_t &aOffset); [all …]
|
D | message.cpp | 105 void MessagePool::Free(Message *aMessage) in Free() argument 107 OT_ASSERT(aMessage->Next() == nullptr && aMessage->Prev() == nullptr); in Free() 109 FreeBuffers(static_cast<Buffer *>(aMessage)); in Free() 391 Error Message::AppendBytesFromMessage(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in AppendBytesFromMessage() argument 397 VerifyOrExit(aMessage.GetLength() >= aOffset + aLength, error = kErrorParse); in AppendBytesFromMessage() 400 aMessage.GetFirstChunk(aOffset, aLength, chunk); in AppendBytesFromMessage() 406 aMessage.GetNextChunk(aLength, chunk); in AppendBytesFromMessage() 630 …yTo(uint16_t aSourceOffset, uint16_t aDestinationOffset, uint16_t aLength, Message &aMessage) const in CopyTo() 640 OT_ASSERT((&aMessage != this) || (aSourceOffset >= aDestinationOffset)); in CopyTo() 646 aMessage.WriteBytes(aDestinationOffset, chunk.GetData(), chunk.GetLength()); in CopyTo() [all …]
|
/openthread-2.7.6/src/core/api/ |
D | coap_api.cpp | 53 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode) in otCoapMessageInit() argument 55 …static_cast<Coap::Message *>(aMessage)->Init(static_cast<Coap::Type>(aType), static_cast<Coap::Cod… in otCoapMessageInit() 69 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength) in otCoapMessageSetToken() argument 71 return static_cast<Coap::Message *>(aMessage)->SetToken(aToken, aTokenLength); in otCoapMessageSetToken() 74 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength) in otCoapMessageGenerateToken() argument 76 IgnoreError(static_cast<Coap::Message *>(aMessage)->GenerateRandomToken(aTokenLength)); in otCoapMessageGenerateToken() 79 otError otCoapMessageAppendContentFormatOption(otMessage *aMessage, otCoapOptionContentFormat aCont… in otCoapMessageAppendContentFormatOption() argument 81 return static_cast<Coap::Message *>(aMessage)->AppendContentFormatOption(aContentFormat); in otCoapMessageAppendContentFormatOption() 84 otError otCoapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const vo… in otCoapMessageAppendOption() argument 86 return static_cast<Coap::Message *>(aMessage)->AppendOption(aNumber, aLength, aValue); in otCoapMessageAppendOption() [all …]
|
D | message_api.cpp | 43 void otMessageFree(otMessage *aMessage) in otMessageFree() argument 45 static_cast<Message *>(aMessage)->Free(); in otMessageFree() 48 uint16_t otMessageGetLength(const otMessage *aMessage) in otMessageGetLength() argument 50 const Message &message = *static_cast<const Message *>(aMessage); in otMessageGetLength() 54 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength) in otMessageSetLength() argument 56 Message &message = *static_cast<Message *>(aMessage); in otMessageSetLength() 60 uint16_t otMessageGetOffset(const otMessage *aMessage) in otMessageGetOffset() argument 62 const Message &message = *static_cast<const Message *>(aMessage); in otMessageGetOffset() 66 void otMessageSetOffset(otMessage *aMessage, uint16_t aOffset) in otMessageSetOffset() argument 68 Message &message = *static_cast<Message *>(aMessage); in otMessageSetOffset() [all …]
|
/openthread-2.7.6/src/core/net/ |
D | ip6.cpp | 193 Error Ip6::AddMplOption(Message &aMessage, Header &aHeader) in AddMplOption() argument 208 SuccessOrExit(error = aMessage.PrependBytes(&padOption, padOption.GetTotalLength())); in AddMplOption() 211 SuccessOrExit(error = aMessage.PrependBytes(&mplOption, mplOption.GetTotalLength())); in AddMplOption() 212 SuccessOrExit(error = aMessage.Prepend(hbhHeader)); in AddMplOption() 220 Error Ip6::AddTunneledMplOption(Message &aMessage, Header &aHeader, MessageInfo &aMessageInfo) in AddTunneledMplOption() argument 240 SuccessOrExit(error = AddMplOption(aMessage, tunnelHeader)); in AddTunneledMplOption() 241 SuccessOrExit(error = aMessage.Prepend(tunnelHeader)); in AddTunneledMplOption() 247 Error Ip6::InsertMplOption(Message &aMessage, Header &aHeader, MessageInfo &aMessageInfo) in InsertMplOption() argument 256 aMessage.RemoveHeader(sizeof(aHeader)); in InsertMplOption() 265 IgnoreError(aMessage.Read(0, hbh)); in InsertMplOption() [all …]
|
D | dns_types.cpp | 104 Error Name::AppendTo(Message &aMessage) const in AppendTo() 110 error = AppendTerminator(aMessage); in AppendTo() 114 error = AppendName(GetAsCString(), aMessage); in AppendTo() 130 SuccessOrExit(error = iterator.AppendLabel(aMessage)); in AppendTo() 135 error = AppendTerminator(aMessage); in AppendTo() 149 Error Name::AppendLabel(const char *aLabel, Message &aMessage) in AppendLabel() argument 151 return AppendLabel(aLabel, static_cast<uint8_t>(StringLength(aLabel, kMaxLabelSize)), aMessage); in AppendLabel() 154 Error Name::AppendLabel(const char *aLabel, uint8_t aLength, Message &aMessage) in AppendLabel() argument 160 SuccessOrExit(error = aMessage.Append(aLength)); in AppendLabel() 161 error = aMessage.AppendBytes(aLabel, aLength); in AppendLabel() [all …]
|
D | dhcp6_server.cpp | 182 void Server::HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInf… in HandleUdpReceive() argument 184 static_cast<Server *>(aContext)->HandleUdpReceive(*static_cast<Message *>(aMessage), in HandleUdpReceive() 188 void Server::HandleUdpReceive(Message &aMessage, const Ip6::MessageInfo &aMessageInfo) in HandleUdpReceive() argument 192 SuccessOrExit(aMessage.Read(aMessage.GetOffset(), header)); in HandleUdpReceive() 193 aMessage.MoveOffset(sizeof(header)); in HandleUdpReceive() 198 ProcessSolicit(aMessage, aMessageInfo.GetPeerAddr(), header.GetTransactionId()); in HandleUdpReceive() 204 void Server::ProcessSolicit(Message &aMessage, const Ip6::Address &aDst, const TransactionId &aTran… in ProcessSolicit() argument 209 uint16_t offset = aMessage.GetOffset(); in ProcessSolicit() 210 uint16_t length = aMessage.GetLength() - aMessage.GetOffset(); in ProcessSolicit() 213 … VerifyOrExit((optionOffset = FindOption(aMessage, offset, length, kOptionClientIdentifier)) > 0); in ProcessSolicit() [all …]
|
D | dhcp6_client.hpp | 122 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 …]
|
D | dhcp6_server.hpp | 190 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 …]
|
D | dhcp6_client.cpp | 295 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 …]
|
D | checksum.cpp | 78 void Checksum::WriteToMessage(uint16_t aOffset, Message &aMessage) const in WriteToMessage() 89 aMessage.Write(aOffset, checksum); in WriteToMessage() 95 const Message & aMessage) in Calculate() argument 98 uint16_t length = aMessage.GetLength() - aMessage.GetOffset(); in Calculate() 109 aMessage.GetFirstChunk(aMessage.GetOffset(), length, chunk); in Calculate() 114 aMessage.GetNextChunk(length, chunk); in Calculate() 118 Error Checksum::VerifyMessageChecksum(const Message &aMessage, const Ip6::MessageInfo &aMessageInfo… in VerifyMessageChecksum() argument 122 checksum.Calculate(aMessageInfo.GetPeerAddr(), aMessageInfo.GetSockAddr(), aIpProto, aMessage); in VerifyMessageChecksum() 127 void Checksum::UpdateMessageChecksum(Message & aMessage, in UpdateMessageChecksum() argument 153 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum() [all …]
|
D | srp_client.cpp | 727 Error Client::PrepareUpdateMessage(Message &aMessage) in PrepareUpdateMessage() argument 759 SuccessOrExit(error = aMessage.Append(header)); in PrepareUpdateMessage() 763 info.mDomainNameOffset = aMessage.GetLength(); in PrepareUpdateMessage() 764 SuccessOrExit(error = Dns::Name::AppendName(mDomainName, aMessage)); in PrepareUpdateMessage() 765 SuccessOrExit(error = aMessage.Append(Dns::Zone())); in PrepareUpdateMessage() 773 SuccessOrExit(error = AppendServiceInstructions(service, aMessage, info)); in PrepareUpdateMessage() 777 SuccessOrExit(error = AppendHostDescriptionInstruction(aMessage, info)); in PrepareUpdateMessage() 780 aMessage.Write(kHeaderOffset, header); in PrepareUpdateMessage() 784 SuccessOrExit(error = AppendUpdateLeaseOptRecord(aMessage)); in PrepareUpdateMessage() 785 SuccessOrExit(error = AppendSignature(aMessage, info)); in PrepareUpdateMessage() [all …]
|
D | ip6.hpp | 190 Error SendDatagram(Message &aMessage, MessageInfo &aMessageInfo, uint8_t aIpProto); 207 Error SendRaw(Message &aMessage); 224 …Error HandleDatagram(Message &aMessage, Netif *aNetif, const void *aLinkMessageInfo, bool aFromNcp… 324 void EnqueueDatagram(Message &aMessage); 325 Error ProcessReceiveCallback(Message & aMessage, 330 Error HandleExtensionHeaders(Message & aMessage, 338 Error FragmentDatagram(Message &aMessage, uint8_t aIpProto); 339 …Error HandleFragment(Message &aMessage, Netif *aNetif, MessageInfo &aMessageInfo, bool aFromNcpHos… 344 … void SendIcmpError(Message &aMessage, Icmp::Header::Type aIcmpType, Icmp::Header::Code aIcmpCode); 346 Error AddMplOption(Message &aMessage, Header &aHeader); [all …]
|
/openthread-2.7.6/include/openthread/ |
D | message.h | 124 void otMessageFree(otMessage *aMessage); 143 uint16_t otMessageGetLength(const otMessage *aMessage); 163 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength); 181 uint16_t otMessageGetOffset(const otMessage *aMessage); 198 void otMessageSetOffset(otMessage *aMessage, uint16_t aOffset); 209 bool otMessageIsLinkSecurityEnabled(const otMessage *aMessage); 220 void otMessageSetDirectTransmission(otMessage *aMessage, bool aEnabled); 228 int8_t otMessageGetRss(const otMessage *aMessage); 249 otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength); 270 uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16_t aLength); [all …]
|
D | coap.h | 345 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-2.7.6/src/core/meshcop/ |
D | border_agent.cpp | 56 const Coap::Message &aMessage, in Init() argument 61 mMessageId = aMessage.GetMessageId(); in Init() 64 mType = aMessage.GetType(); in Init() 65 mTokenLength = aMessage.GetTokenLength(); in Init() 66 memcpy(mToken, aMessage.GetToken(), mTokenLength); in Init() 69 Error BorderAgent::ForwardContext::ToHeader(Coap::Message &aMessage, uint8_t aCode) in ToHeader() argument 73 aMessage.Init(Coap::kTypeNonConfirmable, static_cast<Coap::Code>(aCode)); in ToHeader() 77 aMessage.Init(Coap::kTypeAck, static_cast<Coap::Code>(aCode)); in ToHeader() 82 aMessage.SetMessageId(mMessageId); in ToHeader() 85 return aMessage.SetToken(mToken, mTokenLength); in ToHeader() [all …]
|
D | dataset_manager.hpp | 192 Error AppendMleDatasetTlv(Message &aMessage) const; 214 Error ReadFromMessage(const Message &aMessage, uint16_t aOffset); 288 …Error Save(const Timestamp &aTimestamp, const Message &aMessage, uint16_t aOffset, uint8_t aLength… 308 void HandleGet(const Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo) const; 336 Error HandleSet(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo); 345 otMessage * aMessage, 348 …void HandleMgmtSetResponse(Coap::Message *aMessage, const Ip6::MessageInfo *aMessageInfo, E… 354 Error AppendDatasetToMessage(const Dataset::Info &aDatasetInfo, Message &aMessage) const; 435 …Error Save(const Timestamp &aTimestamp, const Message &aMessage, uint16_t aOffset, uint8_t aLength… 499 static void HandleGet(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo); [all …]
|
D | dataset_manager_ftd.cpp | 62 Error DatasetManager::AppendMleDatasetTlv(Message &aMessage) const in AppendMleDatasetTlv() 68 return dataset.AppendMleDatasetTlv(GetType(), aMessage); in AppendMleDatasetTlv() 71 Error DatasetManager::HandleSet(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo) in HandleSet() argument 75 uint16_t offset = aMessage.GetOffset(); in HandleSet() 100 while (offset < aMessage.GetLength()) in HandleSet() 102 SuccessOrExit(aMessage.Read(offset, tlv)); in HandleSet() 108 VerifyOrExit((offset - aMessage.GetOffset()) <= Dataset::kMaxSize); in HandleSet() 112 if (Tlv::FindTlv(aMessage, activeTimestamp) != kErrorNone) in HandleSet() 119 if (Tlv::FindTlv(aMessage, pendingTimestamp) == kErrorNone) in HandleSet() 131 if (Tlv::FindTlv(aMessage, channel) == kErrorNone) in HandleSet() [all …]
|
D | joiner_router.hpp | 91 Error AppendTo(Message &aMessage) const { return aMessage.Append(*this); } in AppendTo() 92 void ReadFrom(const Message &aMessage); 101 …static void HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInf… 102 void HandleUdpReceive(Message &aMessage, const Ip6::MessageInfo &aMessageInfo); 104 …static void HandleRelayTransmit(void *aContext, otMessage *aMessage, const otMessageInfo *aMessage… 105 void HandleRelayTransmit(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo); 108 otMessage * aMessage, 111 …void HandleJoinerEntrustResponse(Coap::Message *aMessage, const Ip6::MessageInfo *aMessageInfo, Er…
|
D | border_agent.hpp | 124 … void Init(Instance &aInstance, const Coap::Message &aMessage, bool aPetition, bool aSeparate); 127 Error ToHeader(Coap::Message &aMessage, uint8_t aCode); 148 … static void HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo); 154 otMessage * aMessage, 159 Error ForwardToLeader(const Coap::Message & aMessage, 164 Error ForwardToCommissioner(Coap::Message &aForwardMessage, const Message &aMessage); 165 … void HandleKeepAlive(const Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo); 166 void HandleRelayTransmit(const Coap::Message &aMessage); 167 void HandleRelayReceive(const Coap::Message &aMessage); 168 void HandleProxyTransmit(const Coap::Message &aMessage); [all …]
|
/openthread-2.7.6/src/core/thread/ |
D | network_diagnostic.hpp | 123 …static Error GetNextDiagTlv(const Coap::Message &aMessage, Iterator &aIterator, otNetworkDiagTlv &… 126 Error AppendIp6AddressList(Message &aMessage); 127 Error AppendChildTable(Message &aMessage); 131 …static void HandleDiagnosticGetRequest(void *aContext, otMessage *aMessage, const otMessageInfo *a… 132 …void HandleDiagnosticGetRequest(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageIn… 134 …static void HandleDiagnosticGetQuery(void *aContext, otMessage *aMessage, const otMessageInfo *aMe… 135 …void HandleDiagnosticGetQuery(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo… 138 otMessage * aMessage, 141 …void HandleDiagnosticGetResponse(Coap::Message *aMessage, const Ip6::MessageInfo *aMessageInfo, Er… 143 …static void HandleDiagnosticGetAnswer(void *aContext, otMessage *aMessage, const otMessageInfo *aM… [all …]
|
D | mle.hpp | 975 Error AppendHeader(Message &aMessage, Command aCommand); 986 Error AppendSourceAddress(Message &aMessage) const; 998 Error AppendMode(Message &aMessage, DeviceMode aMode); 1010 Error AppendTimeout(Message &aMessage, uint32_t aTimeout); 1023 Error AppendChallenge(Message &aMessage, const uint8_t *aChallenge, uint8_t aChallengeLength); 1035 Error AppendChallenge(Message &aMessage, const Challenge &aChallenge); 1048 Error ReadChallenge(const Message &aMessage, Challenge &aChallenge); 1060 Error AppendResponse(Message &aMessage, const Challenge &aResponse); 1073 Error ReadResponse(const Message &aMessage, Challenge &aResponse); 1084 Error AppendLinkFrameCounter(Message &aMessage); [all …]
|