/openthread-latest/tests/unit/ |
D | test_mac_frame.cpp | 60 VerifyOrExit(aFirst.GetType() == aSecond.GetType()); in CompareAddresses() 62 switch (aFirst.GetType()) in CompareAddresses() 132 VerifyOrQuit(addr.GetType() == Mac::Address::kTypeNone); in TestMacAddress() 135 VerifyOrQuit(addr.GetType() == Mac::Address::kTypeShort); in TestMacAddress() 141 VerifyOrQuit(addr.GetType() == Mac::Address::kTypeExtended); in TestMacAddress() 147 VerifyOrQuit(addr.GetType() == Mac::Address::kTypeExtended); in TestMacAddress() 154 VerifyOrQuit(addr.GetType() == Mac::Address::kTypeNone); in TestMacAddress() 369 VerifyOrQuit(frame.GetType() == Mac::Frame::kTypeData); in TestMacHeader() 601 VerifyOrQuit(frame.GetType() == Mac::Frame::kTypeAck); in TestMacFrameApi() 640 VerifyOrQuit(frame.GetType() == Mac::Frame::kTypeMacCmd); in TestMacFrameApi() [all …]
|
D | test_message.cpp | 93 VerifyOrQuit(messageCopy->GetType() == message->GetType()); in TestMessage() 391 VerifyOrQuit(bufAppender.GetType() == Appender::kBuffer); in TestAppender() 436 VerifyOrQuit(msgAppender.GetType() == Appender::kMessage); in TestAppender()
|
/openthread-latest/src/core/meshcop/ |
D | dataset.cpp | 117 VerifyOrExit(Tlv::FindTlv(mTlvs, validatedLength, tlv->GetType()) == nullptr); in ValidateTlvs() 131 switch (aTlv.GetType()) in IsTlvValid() 242 switch (cur->GetType()) in ConvertTo() 392 Error Dataset::WriteTlv(const Tlv &aTlv) { return WriteTlv(aTlv.GetType(), aTlv.GetValue(), aTlv.Ge… in WriteTlv() 576 … if ((tlv->GetType() == Tlv::kActiveTimestamp) || (tlv->GetType() == Tlv::kPendingTimestamp) || in IsSubsetOf() 577 (tlv->GetType() == Tlv::kDelayTimer)) in IsSubsetOf() 582 otherTlv = aOther.FindTlv(tlv->GetType()); in IsSubsetOf()
|
D | meshcop_tlvs.hpp | 135 Type GetType(void) const { return static_cast<Type>(ot::Tlv::GetType()); } in GetType() function in ot::MeshCoP::Tlv 172 …MeshCoP::Tlv::Type GetType(void) const { return static_cast<MeshCoP::Tlv::Type>(ot::ExtendedTlv::G… in GetType() function in ot::MeshCoP::ExtendedTlv
|
/openthread-latest/src/core/utils/ |
D | otns.cpp | 164 …EmitStatus("coap=send,%d,%d,%d,%s,%s,%d", aMessage.GetMessageId(), aMessage.GetType(), aMessage.Ge… in EmitCoapSend() 178 …EmitStatus("coap=recv,%d,%d,%d,%s,%s,%d", aMessage.GetMessageId(), aMessage.GetType(), aMessage.Ge… in EmitCoapReceive() 191 …EmitStatus("coap=send_error,%d,%d,%d,%s,%s,%d,%s", aMessage.GetMessageId(), aMessage.GetType(), aM… in EmitCoapSendFailure()
|
/openthread-latest/examples/platforms/utils/ |
D | mac_frame.cpp | 61 switch (dst.GetType()) in otMacFrameDoesAddrMatchAny() 86 return static_cast<const Mac::Frame *>(aFrame)->GetType() == Mac::Frame::kTypeAck; in otMacFrameIsAck() 91 return static_cast<const Mac::Frame *>(aFrame)->GetType() == Mac::Frame::kTypeData; in otMacFrameIsData() 96 return static_cast<const Mac::Frame *>(aFrame)->GetType() == Mac::Frame::kTypeMacCmd; in otMacFrameIsCommand() 111 switch (aInAddress.GetType()) in GetOtMacAddress()
|
/openthread-latest/src/core/thread/ |
D | network_data.cpp | 160 switch (cur->GetType()) in Iterate() 188 if (cur->GetType() == NetworkDataTlv::kTypePrefix) in Iterate() 192 switch (subCur->GetType()) in Iterate() 284 if (subCur->GetType() == NetworkDataTlv::kTypeServer) in Iterate() 610 switch (cur->GetType()) in RemoveTemporaryData() 643 switch (cur->GetType()) in RemoveTemporaryDataIn() 708 switch (cur->GetType()) in RemoveTemporaryDataIn()
|
D | network_data_tlvs.cpp | 48 if (tlv->GetType() == aType) in Find() 69 if ((tlv->GetType() == aType) && (tlv->IsStable() == aStable)) in Find()
|
D | network_data_local.cpp | 159 switch (cur->GetType()) in UpdateRloc() 244 switch (cur->GetType()) in UpdateRloc() 262 switch (cur->GetType()) in UpdateRloc()
|
D | thread_tlvs.hpp | 82 Type GetType(void) const { return static_cast<Type>(ot::Tlv::GetType()); } in GetType() function in ot::ThreadTlv
|
D | indirect_sender.cpp | 105 if ((aMessage.GetType() != Message::kTypeSupervision) && (aChild.GetIndirectMessageCount() > 1)) in AddMessageForSleepyChild() 340 switch (message->GetType()) in PrepareFrameForChild() 519 if (message->GetType() == Message::kTypeIp6) in HandleSentFrameToChild() 571 return aMessage.GetType() == Message::kTypeSupervision; in AcceptSupervisionMessage()
|
D | network_data_publisher.hpp | 402 Type GetType(void) const { return mType; } in GetType() function in ot::NetworkData::Publisher::DnsSrpServiceEntry::Info 427 Type GetType(void) const { return mInfo.GetType(); } in GetType() function in ot::NetworkData::Publisher::DnsSrpServiceEntry
|
D | mesh_forwarder.cpp | 228 if (aMessage.GetType() == Message::kTypeIp6) in UpdateEcnOrDrop() 261 else if (aMessage.GetType() == Message::kType6lowpan) in UpdateEcnOrDrop() 397 switch (message.GetType()) in IsDirectTxQueueOverMaxFrameThreshold() 551 switch (curMessage->GetType()) in PrepareNextDirectTransmission() 753 switch (mSendMessage->GetType()) in HandleFrameRequest() 1319 if (aMessage.GetType() == Message::kTypeIp6) in FinalizeMessageDirectTx() 1402 switch (aFrame.GetType()) in HandleReceivedFrame() 1578 if (message.GetType() == Message::kTypeIp6) in ClearReassemblyList() 1613 if (message.GetType() == Message::kTypeIp6) in UpdateReassemblyList() 1685 if (aMessage.GetType() == Message::kTypeIp6) in HandleDatagram() [all …]
|
D | network_data_leader_ftd.cpp | 372 switch (cur->GetType()) in Validate() 433 switch (subCur->GetType()) in ValidatePrefix() 510 switch (subCur->GetType()) in ValidateService() 717 switch (cur->GetType()) in RegisterNetworkData() 765 switch (subCur->GetType()) in AddPrefix() 1039 switch (cur->GetType()) in RemoveRloc() 1102 switch (cur->GetType()) in RemoveRlocInPrefix()
|
D | network_data_publisher.cpp | 543 … if ((GetType() == kTypeUnicastMeshLocalEid) && aEvents.Contains(kEventThreadMeshLocalAddrChanged)) in HandleNotifierEvents() 569 switch (GetType()) in Add() 600 switch (GetType()) in Remove() 648 switch (GetType()) in Process()
|
/openthread-latest/src/core/mac/ |
D | mac_types.cpp | 99 VerifyOrExit(GetType() == aOther.GetType()); in operator ==() 101 switch (GetType()) in operator ==()
|
D | sub_mac_csl_receiver.cpp | 269 VerifyOrExit((dst.GetType() == Address::kTypeShort && dst.GetShort() == GetShortAddress()) || in LogReceived() 270 (dst.GetType() == Address::kTypeExtended && dst.GetExtended() == GetExtAddress())); in LogReceived()
|
/openthread-latest/src/core/net/ |
D | dns_dso.cpp | 659 if (header.GetType() == Dns::Header::kTypeQuery) in HandleReceive() 675 …VerifyOrExit(IsServer() && (header.GetType() == Dns::Header::kTypeQuery) && (header.GetMessageId()… in HandleReceive() 688 VerifyOrExit(header.GetType() == Dns::Header::kTypeResponse); in HandleReceive() 722 switch (header.GetType()) in HandleReceive() 770 aPrimaryTlvType = tlv.GetType(); in ReadPrimaryTlv() 894 if (aHeader.GetType() == Dns::Header::kTypeResponse) in ProcessKeepAliveMessage() 924 VerifyOrExit((keepAliveTlv.GetType() == KeepAliveTlv::kType) && keepAliveTlv.IsValid()); in ProcessKeepAliveMessage() 933 … VerifyOrExit((tlv.GetType() != KeepAliveTlv::kType) && (tlv.GetType() != RetryDelayTlv::kType)); in ProcessKeepAliveMessage() 938 if (aHeader.GetType() == Dns::Header::kTypeQuery) in ProcessKeepAliveMessage()
|
D | nd6.hpp | 95 uint8_t GetType(void) const { return mType; } in GetType() function in ot::Ip6::Nd::Option 580 bool IsValid(void) const { return GetType() == Icmp::Header::kTypeRouterAdvert; } in IsValid() 668 Icmp::Header::Type GetType(void) const { return static_cast<Icmp::Header::Type>(mType); } in GetType() function in ot::Ip6::Nd::RouterAdvert::Header 737 (GetHeader().GetType() == Icmp::Header::kTypeRouterAdvert); in IsValid()
|
D | mdns.cpp | 675 switch (aContext.mResponseMessage.GetType()) in ShouldAppendTo() 751 switch (aResponse.GetType()) in UpdateStateAfterAnswer() 854 switch (aTxMessage.GetType()) in MarkAsAppended() 1143 switch (aResponse.GetType()) in UpdateRecordsState() 1384 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendKeyRecordTo() 1419 …bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastRespons… in AppendNsecRecordTo() 1747 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendAddressRecordsTo() 2546 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendSrvRecordTo() 2580 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendTxtRecordTo() 2611 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendPtrRecordTo() [all …]
|
D | icmp6.hpp | 121 Type GetType(void) const { return static_cast<Type>(mType); } in GetType() function in ot::Ip6::Icmp::Header
|
/openthread-latest/src/core/radio/ |
D | trel_packet.hpp | 102 Type GetType(void) const { return static_cast<Type>(mControl & kTypeMask); } in GetType() function in ot::Trel::Header 109 uint16_t GetLength(void) const { return GetSize(GetType()); } in GetLength()
|
D | trel_packet.cpp | 76 Type type = GetType(); in ToString()
|
/openthread-latest/src/core/coap/ |
D | coap_message.hpp | 255 …uint8_t GetType(void) const { return (GetHelpData().mHeader.mVersionTypeToken & kTypeMask) >> kTyp… in GetType() function in ot::Coap::Message 693 bool IsConfirmable(void) const { return (GetType() == kTypeConfirmable); } in IsConfirmable() 701 bool IsNonConfirmable(void) const { return (GetType() == kTypeNonConfirmable); } in IsNonConfirmable() 709 bool IsAck(void) const { return (GetType() == kTypeAck); } in IsAck() 717 bool IsReset(void) const { return (GetType() == kTypeReset); } in IsReset()
|
/openthread-latest/src/core/common/ |
D | appender.hpp | 90 Type GetType(void) const { return mType; } in GetType() function in ot::Appender
|