Home
last modified time | relevance | path

Searched refs:IsExtended (Results 1 – 20 of 20) sorted by relevance

/openthread-latest/src/core/common/
Dtlvs.cpp44 …return IsExtended() ? sizeof(ExtendedTlv) + As<ExtendedTlv>(this)->GetLength() : sizeof(Tlv) + Get… in GetSize()
49 return reinterpret_cast<uint8_t *>(this) + (IsExtended() ? sizeof(ExtendedTlv) : sizeof(Tlv)); in GetValue()
54 …return reinterpret_cast<const uint8_t *>(this) + (IsExtended() ? sizeof(ExtendedTlv) : sizeof(Tlv)… in GetValue()
113 if (!tlv.IsExtended()) in ParseFrom()
307 if (tlv->IsExtended()) in FindTlv()
Dtlvs.hpp84 bool IsExtended(void) const { return (mLength == kExtendedLength); } in IsExtended() function in ot::Tlv
/openthread-latest/tests/nexus/platform/
Dnexus_radio.cpp280 else if (aAddress.IsExtended()) in Matches()
311 else if (aAddress.IsExtended()) in HasFramePendingFor()
/openthread-latest/src/core/thread/
Dlink_metrics_types.hpp142 static bool IsExtended(uint8_t aTypeId) { return (aTypeId & kExtendedFlag); } in IsExtended() function in ot::LinkMetrics::TypeId
Dnetwork_diagnostic.cpp1034 if (tlv.IsExtended()) in GetNextDiagTlv()
1076 VerifyOrExit(!tlv.IsExtended(), error = kErrorParse); in GetNextDiagTlv()
1088 VerifyOrExit(!tlv.IsExtended(), error = kErrorParse); in GetNextDiagTlv()
1099 VerifyOrExit(!tlv.IsExtended(), error = kErrorParse); in GetNextDiagTlv()
Dneighbor.hpp151 aMacAddress.IsExtended() ? &aMacAddress.GetExtended() : nullptr) in AddressMatcher()
Dlink_metrics.cpp165 if (TypeId::IsExtended(typeId)) in HandleReport()
672 if (TypeId::IsExtended(typeId)) in ReadTypeIdsFromMessage()
Dmesh_forwarder.cpp170 if (frameInfo.mAddrs.mSource.IsShortAddrInvalid() || aMacDest.IsExtended()) in PrepareEmptyFrame()
/openthread-latest/src/core/utils/
Dotns.cpp141 else if (dst.IsExtended()) in EmitTransmit()
Dmesh_diag.cpp303 VerifyOrExit(!childTlv.IsExtended()); in ProcessChildTableAnswer()
345 VerifyOrExit(!neighborTlv.IsExtended()); in ProcessRouterNeighborTableAnswer()
Dhistory_tracker.cpp133 if (aMacAddress.IsExtended()) in RecordMessage()
/openthread-latest/tests/unit/
Dtest_mac_frame.cpp137 VerifyOrQuit(!addr.IsExtended(), "Address::SetShort() failed"); in TestMacAddress()
143 VerifyOrQuit(addr.IsExtended(), "Address::SetExtended() failed"); in TestMacAddress()
149 VerifyOrQuit(addr.IsExtended(), "Address::SetExtended() failed"); in TestMacAddress()
157 VerifyOrQuit(!addr.IsExtended(), "Address::SetNone() failed"); in TestMacAddress()
/openthread-latest/src/core/mac/
Dmac_types.hpp280 bool IsExtended(void) const { return (mType == kTypeExtended); } in IsExtended() function in ot::Mac::Address
Dmac_frame.cpp153 if (mAddrs.mSource.IsExtended() && mAddrs.mDestination.IsExtended()) in PrepareHeadersIn()
298 VerifyOrExit(srcAddress.IsExtended()); in IsWakeupFrame()
Ddata_poll_sender.cpp558 if (frameInfo.mAddrs.mDestination.IsExtended()) in PrepareDataRequest()
Dmac.cpp242 VerifyOrExit(address.IsExtended(), error = kErrorParse); in ConvertBeaconToActiveScanResult()
1772 if (!srcAddr.IsExtended() && neighbor != nullptr) in ProcessEnhAckSecurity()
1777 VerifyOrExit(srcAddr.IsExtended() && neighbor != nullptr); in ProcessEnhAckSecurity()
/openthread-latest/src/core/radio/
Dtrel_link.cpp205 OT_ASSERT(destAddr.IsExtended()); in BeginTransmit()
Dble_secure.cpp393 if (tlv.IsExtended()) in HandleTlsReceive()
/openthread-latest/src/core/meshcop/
Ddataset.cpp112 VerifyOrExit(!tlv->IsExtended() && ((tlv + 1) <= end) && (tlv->GetNext() <= end)); in ValidateTlvs()
Dtcat_agent.cpp377 if (tlv.IsExtended()) in HandleSingleTlv()