Home
last modified time | relevance | path

Searched refs:mType (Results 1 – 25 of 45) sorted by relevance

12

/openthread-3.6.0/src/core/meshcop/
Ddataset_local.cpp57 , mType(aType) in DatasetLocal()
69 IgnoreError(Get<Settings>().DeleteOperationalDataset(mType)); in Clear()
85 mTimestampPresent = (aDataset.GetTimestamp(mType, mTimestamp) == kErrorNone); in Restore()
95 error = Get<Settings>().ReadOperationalDataset(mType, aDataset); in Read()
102 if (mType == Dataset::kActive) in Read()
196 IgnoreError(Get<Settings>().DeleteOperationalDataset(mType)); in Save()
198 LogInfo("%s dataset deleted", Dataset::TypeToString(mType)); in Save()
208 SuccessOrExit(error = Get<Settings>().SaveOperationalDataset(mType, dataset)); in Save()
210 SuccessOrExit(error = Get<Settings>().SaveOperationalDataset(mType, aDataset)); in Save()
214 LogInfo("%s dataset set", Dataset::TypeToString(mType)); in Save()
[all …]
Ddataset_local.hpp65 Dataset::Type GetType(void) const { return mType; } in GetType()
207 bool IsActive(void) const { return (mType == Dataset::kActive); } in IsActive()
212 Dataset::Type mType; ///< Active or Pending member in ot::MeshCoP::DatasetLocal
Dcommissioner.cpp111 if (aJoiner->mType == Joiner::kTypeEui64) in SignalJoinerEvent()
151 if (joiner.mType == Joiner::kTypeUnused) in GetUnusedJoinerEntry()
167 switch (joiner.mType) in FindJoinerEntry()
199 if ((joiner.mType == Joiner::kTypeDiscerner) && (aDiscerner == joiner.mSharedId.mDiscerner)) in FindJoinerEntry()
219 switch (joiner.mType) in FindBestMatchingJoinerEntry()
243 ((best->mType == Joiner::kTypeDiscerner) && in FindBestMatchingJoinerEntry()
265 aJoiner.mType = Joiner::kTypeUnused; in RemoveJoinerEntry()
369 switch (joiner.mType) in ComputeBloomFilter()
415 joiner.mType = Joiner::kTypeUnused; in ClearJoiners()
452 joiner->mType = Joiner::kTypeDiscerner; in AddJoiner()
[all …]
/openthread-3.6.0/src/core/mac/
Dmac_types.hpp262 : mType(kTypeNone) in Address()
272 Type GetType(void) const { return mType; } in GetType()
280 bool IsNone(void) const { return (mType == kTypeNone); } in IsNone()
288 bool IsShort(void) const { return (mType == kTypeShort); } in IsShort()
296 bool IsExtended(void) const { return (mType == kTypeExtended); } in IsExtended()
334 void SetNone(void) { mType = kTypeNone; } in SetNone()
347 mType = kTypeShort; in SetShort()
361 mType = kTypeExtended; in SetExtended()
377 mType = kTypeExtended; in SetExtended()
386 …bool IsBroadcast(void) const { return ((mType == kTypeShort) && (GetShort() == kShortAddrBroadcast… in IsBroadcast()
[all …]
Dmac_types.cpp97 if (mType == kTypeExtended) in ToString()
101 else if (mType == kTypeNone) in ToString()
/openthread-3.6.0/src/core/common/
Dappender.cpp39 : mType(kMessage) in Appender()
46 : mType(kBuffer) in Appender()
55 switch (mType) in AppendBytes()
73 switch (mType) in GetAppendedLength()
Dappender.hpp95 Type GetType(void) const { return mType; } in GetType()
168 Type mType; member in ot::Appender
Dtlvs.hpp71 uint8_t GetType(void) const { return mType; } in GetType()
79 void SetType(uint8_t aType) { mType = aType; } in SetType()
682 uint8_t mType; member
698 uint8_t mType; member in ot::Tlv
Dtlvs.cpp132 mType = tlv.GetType(); in ParseFrom()
140 mType = extTlv.GetType(); in ParseFrom()
156 mType = tlv.GetType(); in ParseFrom()
180 if (mType == aType) in FindIn()
/openthread-3.6.0/src/core/net/
Dip6_headers.cpp79 SuccessOrExit(error = aMessage.Read(aOffset, this, sizeof(mType))); in ParseFrom()
81 if (mType == kTypePad1) in ParseFrom()
97 return (mType == kTypePad1) ? sizeof(mType) : static_cast<uint16_t>(mLength) + sizeof(Option); in GetSize()
Ddnssd_server.cpp315 mType = kPtrQuery; in ParseQuestions()
318 mType = kSrvQuery; in ParseQuestions()
321 mType = kTxtQuery; in ParseQuestions()
324 mType = kAaaaQuery; in ParseQuestions()
342 VerifyOrExit(mType == kTxtQuery); in ParseQuestions()
346 VerifyOrExit(mType == kSrvQuery); in ParseQuestions()
353 mType = kSrvTxtQuery; in ParseQuestions()
367 mType = aRequest.mType; in AddQuestionsFrom()
422 switch (mType) in ParseQueryName()
455 if ((mType == kPtrQuery) && StringMatch(label, kSubLabel, kStringCaseInsensitiveMatch)) in ParseQueryName()
[all …]
Dnd6.hpp88 uint8_t GetType(void) const { return mType; } in GetType()
97 void SetType(Type aType) { mType = aType; } in SetType()
163 uint8_t mType; // Type of the option. member in ot::Ip6::Nd::Option
637 Icmp::Header::Type GetType(void) const { return static_cast<Icmp::Header::Type>(mType); } in GetType()
661 uint8_t mType; member in ot::Ip6::Nd::RouterAdvertMessage::Header
851 … bool IsValid(void) const { return (mType == Icmp::Header::kTypeNeighborSolicit) && (mCode == 0); } in IsValid()
890 uint8_t mType; member in ot::Ip6::Nd::NeighborSolicitMessage
916 … bool IsValid(void) const { return (mType == Icmp::Header::kTypeNeighborAdvert) && (mCode == 0); } in IsValid()
1004 uint8_t mType; member in ot::Ip6::Nd::NeighborAdvertMessage
Dip6_headers.hpp477 uint8_t GetType(void) const { return mType; } in GetType()
486 bool IsPadding(void) const { return (mType == kTypePad1) || (mType == kTypePadN); } in IsPadding()
494 Action GetAction(void) const { return static_cast<Action>(mType & kActionMask); } in GetAction()
542 void SetType(uint8_t aType) { mType = aType; } in SetType()
555 uint8_t mType; member in ot::Ip6::Option
Dicmp6.hpp119 bool IsError(void) const { return mType < OT_ICMP6_TYPE_ECHO_REQUEST; } in IsError()
127 Type GetType(void) const { return static_cast<Type>(mType); } in GetType()
135 void SetType(Type aType) { mType = static_cast<uint8_t>(aType); } in SetType()
Dnd6.cpp194 mType = Icmp::Header::kTypeRouterAdvert; in SetToDefault()
309 mType = Icmp::Header::kTypeNeighborSolicit; in NeighborSolicitMessage()
321 mType = Icmp::Header::kTypeNeighborAdvert; in NeighborAdvertMessage()
Ddhcp6.hpp132 Type GetType(void) const { return mType; } in GetType()
140 void SetType(Type aType) { mType = aType; } in SetType()
159 Type mType; member in ot::Dhcp6::Header
Dip4_types.hpp628 uint8_t GetType(void) const { return mType; } in GetType()
636 void SetType(uint8_t aType) { mType = aType; } in SetType()
690 uint8_t mType; member in ot::Ip4::Icmp::Header
Ddnssd_server.hpp326 QueryType mType; member
383 QueryType mType; member in ot::Dns::ServiceDiscovery::Server::Response
394 QueryType mType; member
/openthread-3.6.0/examples/platforms/simulation/
Dtrel.c61 MessageType mType; member
216 messageTypeToString(sPendingTx[i].mType), sPendingTx[i].mSockAddr.mPort); in sendPendingTxMessages()
238 message->mType = TREL_DNSSD_BROWSE_MESSAGE; in sendBrowseMessage()
255 message->mType = aType; in sendServiceMessage()
273 messageTypeToString(aMessage->mType), aMessage->mSockAddr.mPort); in processMessage()
279 switch (aMessage->mType) in processMessage()
293 peerInfo.mRemoved = (aMessage->mType == TREL_DNSSD_REMOVE_SERVICE_MESSAGE); in processMessage()
384 message->mType = TREL_DATA_MESSAGE; in otPlatTrelSend()
/openthread-3.6.0/src/core/thread/
Dnetwork_data_publisher.cpp442 switch (prefixEntry.mType) in ToString()
770 , mType(aType) in Info()
777 mType = aType; in Info()
826 VerifyOrExit((mType != aNewType) || (mFlags != aNewFlags) || (mPrefix != aPrefix)); in Publish()
830 if ((mType == aNewType) && ((oldState == kAdded) || (oldState == kRemoving))) in Publish()
840 mType = aNewType; in Publish()
869 switch (mType) in Add()
916 switch (mType) in Remove()
950 switch (mType) in Process()
Dnetwork_data_tlvs.hpp140 mType = 0; in Init()
150 Type GetType(void) const { return static_cast<Type>(mType >> kTypeOffset); } in GetType()
158 … void SetType(Type aType) { mType = (mType & ~kTypeMask) | ((aType << kTypeOffset) & kTypeMask); } in SetType()
243 void ClearStable(void) { mType &= ~kStableMask; } in ClearStable()
252 bool IsStable(void) const { return (mType & kStableMask); } in IsStable()
258 void SetStable(void) { mType |= kStableMask; } in SetStable()
395 uint8_t mType; member in ot::NetworkData::NetworkDataTlv
Dnetwork_data_publisher.hpp413 Type GetType(void) const { return mType; } in GetType()
430 Type mType; member in ot::NetworkData::Publisher::DnsSrpServiceEntry::Info
495 Type mType; member in ot::NetworkData::Publisher::PrefixEntry
/openthread-3.6.0/examples/platforms/utils/
Dmac_frame.cpp99 aOutAddress->mType = OT_MAC_ADDRESS_TYPE_NONE; in GetOtMacAddress()
103 aOutAddress->mType = OT_MAC_ADDRESS_TYPE_SHORT; in GetOtMacAddress()
108 aOutAddress->mType = OT_MAC_ADDRESS_TYPE_EXTENDED; in GetOtMacAddress()
Dlink_metrics.cpp223 if (aMacAddress->mType == OT_MAC_ADDRESS_TYPE_SHORT) in GetLinkMetricsInfoByMacAddress()
227 else if (aMacAddress->mType == OT_MAC_ADDRESS_TYPE_EXTENDED) in GetLinkMetricsInfoByMacAddress()
/openthread-3.6.0/src/core/border_router/
Drouting_manager.hpp690 , mType(aType) in Matcher()
695 Type mType; member
708 , mType(aType) in Checker()
714 Type mType; member
730 Type GetType(void) const { return mType; } in GetType()
731 bool IsOnLinkPrefix(void) const { return (mType == kTypeOnLink); } in IsOnLinkPrefix()
732 bool IsRoutePrefix(void) const { return (mType == kTypeRoute); } in IsRoutePrefix()
759 Type mType; member in ot::BorderRouter::RoutingManager::DiscoveredPrefixTable::Entry

12