ot::Tlv::GetNext() method
Returns a pointer to the next TLV. Correctly returns the next TLV independent of whether the current TLV is an Extended TLV or not.
Return value
A pointer to the next TLV.
![]()
Tlv *GetNext(void) { return reinterpret_cast<Tlv *>(reinterpret_cast<uint8_t *>(this) + GetSize()); }
ot::Tlv::GetNext() is called by 1 function and calls 1 function:
![]()
ot::Tlv::GetNext()