Home
last modified time | relevance | path

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

123

/openthread-latest/src/core/mac/
Dmac_types.hpp250 : 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 …]
Dmac_types.cpp128 if (mType == kTypeExtended) in ToString()
132 else if (mType == kTypeNone) in ToString()
/openthread-latest/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.hpp90 Type GetType(void) const { return mType; } in GetType()
157 Type mType; member in ot::Appender
Dtlvs.hpp69 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/
Dip6_headers.cpp79 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()
Ddnssd_server.cpp316 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 …]
Dnd6.hpp95 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
Dip6_headers.hpp436 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
Dicmp6.hpp114 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()
Ddhcp6.hpp126 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
Dnd6.cpp196 mType = Icmp::Header::kTypeRouterAdvert; in SetToDefault()
335 mType = Icmp::Header::kTypeNeighborSolicit; in NeighborSolicitHeader()
347 mType = Icmp::Header::kTypeNeighborAdvert; in NeighborAdvertMessage()
Dip4_types.hpp585 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
Dmdns.cpp1214 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 …]
Ddns_types.hpp1301 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/
Dtrel.c62 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/
Dcommissioner.cpp96 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 …]
Ddataset_manager.cpp48 , 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 …]
Ddataset_manager.hpp278 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/
Dnetwork_data_tlvs.hpp133 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
Dnetwork_data_publisher.cpp433 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()
Dnetwork_data_publisher.hpp402 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/
Dradio_spinel_rcp_test.cpp71 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/
Dlink_metrics.cpp222 if (aMacAddress->mType == OT_MAC_ADDRESS_TYPE_SHORT) in GetLinkMetricsInfoByMacAddress()
226 else if (aMacAddress->mType == OT_MAC_ADDRESS_TYPE_EXTENDED) in GetLinkMetricsInfoByMacAddress()
Dmac_frame.cpp114 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()

123