Home
last modified time | relevance | path

Searched refs:aTlvsStart (Results 1 – 2 of 2) sorted by relevance

/openthread-3.6.0/src/core/common/
Dtlvs.hpp624 static const Tlv *FindTlv(const void *aTlvsStart, uint16_t aTlvsLength, uint8_t aType);
636 static Tlv *FindTlv(void *aTlvsStart, uint16_t aTlvsLength, uint8_t aType) in FindTlv() argument
638 return AsNonConst(FindTlv(AsConst(aTlvsStart), aTlvsLength, aType)); in FindTlv()
652 template <typename TlvType> static TlvType *Find(void *aTlvsStart, uint16_t aTlvsLength) in Find() argument
654 return static_cast<TlvType *>(FindTlv(aTlvsStart, aTlvsLength, TlvType::kType)); in Find()
668 …template <typename TlvType> static const TlvType *Find(const void *aTlvsStart, uint16_t aTlvsLengt… in Find() argument
670 return static_cast<const TlvType *>(FindTlv(aTlvsStart, aTlvsLength, TlvType::kType)); in Find()
Dtlvs.cpp325 const Tlv *Tlv::FindTlv(const void *aTlvsStart, uint16_t aTlvsLength, uint8_t aType) in FindTlv() argument
328 …const Tlv *end = reinterpret_cast<const Tlv *>(reinterpret_cast<const uint8_t *>(aTlvsStart) + aTl… in FindTlv()
330 for (tlv = reinterpret_cast<const Tlv *>(aTlvsStart); tlv < end; tlv = tlv->GetNext()) in FindTlv()