/openthread-latest/src/core/mac/ |
D | mac_types.hpp | 250 : mType(kTypeNone) in Address() 259 Type GetType(void) const { return mType; } in GetType() 266 bool IsNone(void) const { return (mType == kTypeNone); } in IsNone() 273 bool IsShort(void) const { return (mType == kTypeShort); } in IsShort() 280 bool IsExtended(void) const { return (mType == kTypeExtended); } in IsExtended() 314 void SetNone(void) { mType = kTypeNone; } in SetNone() 326 mType = kTypeShort; in SetShort() 339 mType = kTypeExtended; in SetExtended() 354 mType = kTypeExtended; in SetExtended() 362 …bool IsBroadcast(void) const { return ((mType == kTypeShort) && (GetShort() == kShortAddrBroadcast… in IsBroadcast() [all …]
|
D | mac_types.cpp | 128 if (mType == kTypeExtended) in ToString() 132 else if (mType == kTypeNone) in ToString()
|
/openthread-latest/src/core/common/ |
D | appender.cpp | 39 : mType(kMessage) in Appender() 46 : mType(kBuffer) in Appender() 55 switch (mType) in AppendBytes() 73 switch (mType) in GetAppendedLength()
|
D | appender.hpp | 90 Type GetType(void) const { return mType; } in GetType() 157 Type mType; member in ot::Appender
|
D | tlvs.hpp | 69 uint8_t GetType(void) const { return mType; } in GetType() 76 void SetType(uint8_t aType) { mType = aType; } in SetType() 285 uint8_t mType; ///< The TLV type member 706 uint8_t mType; member in ot::Tlv
|
/openthread-latest/src/core/net/ |
D | ip6_headers.cpp | 79 SuccessOrExit(error = aMessage.Read(aOffsetRange, this, sizeof(mType))); in ParseFrom() 81 if (mType == kTypePad1) in ParseFrom() 96 return (mType == kTypePad1) ? sizeof(mType) : static_cast<uint16_t>(mLength) + sizeof(Option); in GetSize()
|
D | dnssd_server.cpp | 316 mType = kPtrQuery; in ParseQuestions() 319 mType = kSrvQuery; in ParseQuestions() 322 mType = kTxtQuery; in ParseQuestions() 325 mType = kAaaaQuery; in ParseQuestions() 328 mType = kAQuery; in ParseQuestions() 347 VerifyOrExit(mType == kTxtQuery); in ParseQuestions() 351 VerifyOrExit(mType == kSrvQuery); in ParseQuestions() 358 mType = kSrvTxtQuery; in ParseQuestions() 372 mType = aRequest.mType; in AddQuestionsFrom() 427 switch (mType) in ParseQueryName() [all …]
|
D | nd6.hpp | 95 uint8_t GetType(void) const { return mType; } in GetType() 102 void SetType(Type aType) { mType = aType; } in SetType() 163 uint8_t mType; // Type of the option. member in ot::Ip6::Nd::Option 668 Icmp::Header::Type GetType(void) const { return static_cast<Icmp::Header::Type>(mType); } in GetType() 693 uint8_t mType; member in ot::Ip6::Nd::RouterAdvert::Header 864 … bool IsValid(void) const { return (mType == Icmp::Header::kTypeNeighborSolicit) && (mCode == 0); } in IsValid() 901 uint8_t mType; member in ot::Ip6::Nd::NeighborSolicitHeader 925 … bool IsValid(void) const { return (mType == Icmp::Header::kTypeNeighborAdvert) && (mCode == 0); } in IsValid() 1005 uint8_t mType; member in ot::Ip6::Nd::NeighborAdvertMessage
|
D | ip6_headers.hpp | 436 uint8_t GetType(void) const { return mType; } in GetType() 444 bool IsPadding(void) const { return (mType == kTypePad1) || (mType == kTypePadN); } in IsPadding() 451 Action GetAction(void) const { return static_cast<Action>(mType & kActionMask); } in GetAction() 494 void SetType(uint8_t aType) { mType = aType; } in SetType() 506 uint8_t mType; member in ot::Ip6::Option
|
D | icmp6.hpp | 114 bool IsError(void) const { return mType < OT_ICMP6_TYPE_ECHO_REQUEST; } in IsError() 121 Type GetType(void) const { return static_cast<Type>(mType); } in GetType() 128 void SetType(Type aType) { mType = static_cast<uint8_t>(aType); } in SetType()
|
D | dhcp6.hpp | 126 Type GetType(void) const { return mType; } in GetType() 133 void SetType(Type aType) { mType = aType; } in SetType() 150 Type mType; member in ot::Dhcp6::Header
|
D | nd6.cpp | 196 mType = Icmp::Header::kTypeRouterAdvert; in SetToDefault() 335 mType = Icmp::Header::kTypeNeighborSolicit; in NeighborSolicitHeader() 347 mType = Icmp::Header::kTypeNeighborAdvert; in NeighborAdvertMessage()
|
D | ip4_types.hpp | 585 uint8_t GetType(void) const { return mType; } in GetType() 592 void SetType(uint8_t aType) { mType = aType; } in SetType() 640 uint8_t mType; member in ot::Ip4::Icmp::Header
|
D | mdns.cpp | 1214 if (QuestionMatches(aInfo.mQuestionRrType, aRecords[index].mType)) in AnswerNonProbe() 3009 mType = aType; in Init() 3048 switch (mType) in SelectMessageFor() 3343 switch (mType) in Send() 4820 mType = aType; in Init() 4910 switch (mType) in Add() 4937 switch (mType) in Add() 4991 switch (mType) in HandleTimer() 5025 switch (mType) in HandleTimer() 5052 switch (mType) in FindCallbackMatching() [all …]
|
D | dns_types.hpp | 1301 return (mType == BigEndian::HostSwap16(aType)) && (mClass == BigEndian::HostSwap16(aClass)); in Matches() 1309 uint16_t GetType(void) const { return BigEndian::HostSwap16(mType); } in GetType() 1316 void SetType(uint16_t aType) { mType = BigEndian::HostSwap16(aType); } in SetType() 1515 uint16_t mType; // The type of the data in RDATA section. member in ot::Dns::ResourceRecord 2682 uint16_t GetType(void) const { return BigEndian::HostSwap16(mType); } in GetType() 2689 void SetType(uint16_t aType) { mType = BigEndian::HostSwap16(aType); } in SetType() 2706 uint16_t mType; // The type of the data in question section. member in ot::Dns::Question
|
/openthread-latest/examples/platforms/simulation/ |
D | trel.c | 62 MessageType mType; member 132 messageTypeToString(sPendingTx[i].mType), sPendingTx[i].mSockAddr.mPort); in sendPendingTxMessages() 147 message->mType = TREL_DNSSD_BROWSE_MESSAGE; in sendBrowseMessage() 164 message->mType = aType; in sendServiceMessage() 181 messageTypeToString(aMessage->mType), aMessage->mSockAddr.mPort); in processMessage() 187 switch (aMessage->mType) in processMessage() 202 peerInfo.mRemoved = (aMessage->mType == TREL_DNSSD_REMOVE_SERVICE_MESSAGE); in processMessage() 308 message->mType = TREL_DATA_MESSAGE; in otPlatTrelSend()
|
/openthread-latest/src/core/meshcop/ |
D | commissioner.cpp | 96 if (aJoiner->mType == Joiner::kTypeEui64) in SignalJoinerEvent() 137 if (joiner.mType == Joiner::kTypeUnused) in GetUnusedJoinerEntry() 153 switch (joiner.mType) in FindJoinerEntry() 185 if ((joiner.mType == Joiner::kTypeDiscerner) && (aDiscerner == joiner.mSharedId.mDiscerner)) in FindJoinerEntry() 205 switch (joiner.mType) in FindBestMatchingJoinerEntry() 229 ((best->mType == Joiner::kTypeDiscerner) && in FindBestMatchingJoinerEntry() 251 aJoiner.mType = Joiner::kTypeUnused; in RemoveJoinerEntry() 353 switch (joiner.mType) in ComputeBloomFilter() 400 joiner.mType = Joiner::kTypeUnused; in ClearJoiners() 437 joiner->mType = Joiner::kTypeDiscerner; in AddJoiner() [all …]
|
D | dataset_manager.cpp | 48 , mType(aType) in DatasetManager() 84 if (aDataset.ReadTimestamp(mType, mLocalTimestamp) == kErrorNone) in Restore() 106 SuccessOrExit(error = Get<Settings>().ReadOperationalDataset(mType, aDataset)); in Read() 112 if (mType == Dataset::kActive) in Read() 258 Get<Settings>().DeleteOperationalDataset(mType); in Clear() 275 if ((aDataset.ReadTimestamp(mType, mNetworkTimestamp) == kErrorNone) && IsActiveDataset()) in Save() 362 Get<Settings>().DeleteOperationalDataset(mType); in LocalSave() 364 LogInfo("%s dataset deleted", Dataset::TypeToString(mType)); in LocalSave() 374 Get<Settings>().SaveOperationalDataset(mType, dataset); in LocalSave() 376 Get<Settings>().SaveOperationalDataset(mType, aDataset); in LocalSave() [all …]
|
D | dataset_manager.hpp | 278 bool IsActiveDataset(void) const { return (mType == Dataset::kActive); } in IsActiveDataset() 279 bool IsPendingDataset(void) const { return (mType == Dataset::kPending); } in IsPendingDataset() 312 Type mType; member in ot::MeshCoP::DatasetManager
|
/openthread-latest/src/core/thread/ |
D | network_data_tlvs.hpp | 133 mType = 0; in Init() 142 Type GetType(void) const { return static_cast<Type>(mType >> kTypeOffset); } in GetType() 149 … void SetType(Type aType) { mType = (mType & ~kTypeMask) | ((aType << kTypeOffset) & kTypeMask); } in SetType() 224 void ClearStable(void) { mType &= ~kStableMask; } in ClearStable() 232 bool IsStable(void) const { return (mType & kStableMask); } in IsStable() 237 void SetStable(void) { mType |= kStableMask; } in SetStable() 366 uint8_t mType; member in ot::NetworkData::NetworkDataTlv
|
D | network_data_publisher.cpp | 433 switch (prefixEntry.mType) in ToString() 768 mType = aType; in Info() 818 VerifyOrExit((mType != aNewType) || (mFlags != aNewFlags) || (mPrefix != aPrefix)); in Publish() 822 if ((mType == aNewType) && ((oldState == kAdded) || (oldState == kRemoving))) in Publish() 832 mType = aNewType; in Publish() 861 switch (mType) in Add() 908 switch (mType) in Remove() 942 switch (mType) in Process()
|
D | network_data_publisher.hpp | 402 Type GetType(void) const { return mType; } in GetType() 424 Type mType; member in ot::NetworkData::Publisher::DnsSrpServiceEntry::Info 493 Type mType; member in ot::NetworkData::Publisher::PrefixEntry
|
/openthread-latest/tests/gtest/ |
D | radio_spinel_rcp_test.cpp | 71 frameInfo.mType = Mac::Frame::kTypeData; in TEST() 115 frameInfo.mType = Mac::Frame::kTypeData; in TEST() 161 frameInfo.mType = Mac::Frame::kTypeData; in TEST() 217 frameInfo.mType = Mac::Frame::kTypeData; in TEST() 267 frameInfo.mType = Mac::Frame::kTypeData; in TEST() 343 frameInfo.mType = Mac::Frame::kTypeData; in TEST()
|
/openthread-latest/examples/platforms/utils/ |
D | link_metrics.cpp | 222 if (aMacAddress->mType == OT_MAC_ADDRESS_TYPE_SHORT) in GetLinkMetricsInfoByMacAddress() 226 else if (aMacAddress->mType == OT_MAC_ADDRESS_TYPE_EXTENDED) in GetLinkMetricsInfoByMacAddress()
|
D | mac_frame.cpp | 114 aOutAddress->mType = OT_MAC_ADDRESS_TYPE_NONE; in GetOtMacAddress() 118 aOutAddress->mType = OT_MAC_ADDRESS_TYPE_SHORT; in GetOtMacAddress() 123 aOutAddress->mType = OT_MAC_ADDRESS_TYPE_EXTENDED; in GetOtMacAddress()
|