Home
last modified time | relevance | path

Searched refs:ExtendedTlv (Results 1 – 6 of 6) sorted by relevance

/openthread-2.7.6/src/core/common/
Dtlvs.cpp44 return IsExtended() ? sizeof(ExtendedTlv) + static_cast<const ExtendedTlv *>(this)->GetLength() in GetSize()
50 return reinterpret_cast<uint8_t *>(this) + (IsExtended() ? sizeof(ExtendedTlv) : sizeof(Tlv)); in GetValue()
55 …return reinterpret_cast<const uint8_t *>(this) + (IsExtended() ? sizeof(ExtendedTlv) : sizeof(Tlv)… in GetValue()
103 aValueOffset = offset + sizeof(ExtendedTlv); in FindTlvValueOffset()
104 aLength = size - sizeof(ExtendedTlv); in FindTlvValueOffset()
141 ExtendedTlv extTlv; in Find()
145 VerifyOrExit(extTlv.GetLength() <= (remainingLen - sizeof(ExtendedTlv))); in Find()
Dtlvs.hpp446 class ExtendedTlv : public Tlv class
/openthread-2.7.6/src/core/meshcop/
Dmeshcop_tlvs.hpp262 class ExtendedTlv : public ot::ExtendedTlv class
271 …MeshCoP::Tlv::Type GetType(void) const { return static_cast<MeshCoP::Tlv::Type>(ot::ExtendedTlv::G… in GetType()
279 … void SetType(MeshCoP::Tlv::Type aType) { ot::ExtendedTlv::SetType(static_cast<uint8_t>(aType)); } in SetType()
1982 class UdpEncapsulationTlv : public ExtendedTlv, public TlvInfo<MeshCoP::Tlv::kUdpEncapsulation>
1992 SetLength(sizeof(*this) - sizeof(ExtendedTlv)); in Init()
2002 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(ExtendedTlv); } in IsValid()
Dmeshcop_tlvs.cpp101 … (reinterpret_cast<const ExtendedTlv *>(tlv) + 1 <= reinterpret_cast<const ExtendedTlv *>(end)), in FindTlv()
Djoiner_router.cpp136 ExtendedTlv tlv; in HandleUdpReceive()
Dcommissioner.cpp1162 ExtendedTlv tlv; in SendRelayTransmit()