Home
last modified time | relevance | path

Searched refs:GetType (Results 1 – 25 of 75) sorted by relevance

123

/openthread-latest/tests/unit/
Dtest_mac_frame.cpp60 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 …]
Dtest_message.cpp93 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/
Ddataset.cpp117 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()
Dmeshcop_tlvs.hpp135 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/
Dotns.cpp164 …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/
Dmac_frame.cpp61 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/
Dnetwork_data.cpp160 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()
Dnetwork_data_tlvs.cpp48 if (tlv->GetType() == aType) in Find()
69 if ((tlv->GetType() == aType) && (tlv->IsStable() == aStable)) in Find()
Dnetwork_data_local.cpp159 switch (cur->GetType()) in UpdateRloc()
244 switch (cur->GetType()) in UpdateRloc()
262 switch (cur->GetType()) in UpdateRloc()
Dthread_tlvs.hpp82 Type GetType(void) const { return static_cast<Type>(ot::Tlv::GetType()); } in GetType() function in ot::ThreadTlv
Dindirect_sender.cpp105 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()
Dnetwork_data_publisher.hpp402 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
Dmesh_forwarder.cpp228 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 …]
Dnetwork_data_leader_ftd.cpp372 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()
Dnetwork_data_publisher.cpp543 … 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/
Dmac_types.cpp99 VerifyOrExit(GetType() == aOther.GetType()); in operator ==()
101 switch (GetType()) in operator ==()
Dsub_mac_csl_receiver.cpp269 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/
Ddns_dso.cpp659 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()
Dnd6.hpp95 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()
Dmdns.cpp675 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 …]
Dicmp6.hpp121 Type GetType(void) const { return static_cast<Type>(mType); } in GetType() function in ot::Ip6::Icmp::Header
/openthread-latest/src/core/radio/
Dtrel_packet.hpp102 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()
Dtrel_packet.cpp76 Type type = GetType(); in ToString()
/openthread-latest/src/core/coap/
Dcoap_message.hpp255 …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/
Dappender.hpp90 Type GetType(void) const { return mType; } in GetType() function in ot::Appender

123