Home
last modified time | relevance | path

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

/openthread-3.7.0/tests/unit/
Dtest_tlv.cpp46 ExtendedTlv extTlv; in TestTlv() local
81 extTlv.SetType(2); in TestTlv()
82 extTlv.SetLength(0); in TestTlv()
83 SuccessOrQuit(message->Append(extTlv)); in TestTlv()
111 extTlv.SetType(4); in TestTlv()
112 extTlv.SetLength(2); in TestTlv()
113 SuccessOrQuit(message->Append(extTlv)); in TestTlv()
152 extTlv.SetType(6); in TestTlv()
153 extTlv.SetLength(2); in TestTlv()
154 SuccessOrQuit(message->Append(extTlv)); in TestTlv()
[all …]
/openthread-3.7.0/src/core/thread/
Dnetwork_diagnostic.cpp149 ExtendedTlv extTlv; in AppendIp6AddressList() local
151 extTlv.SetType(Tlv::kIp6AddressList); in AppendIp6AddressList()
152 extTlv.SetLength(count * Ip6::Address::kSize); in AppendIp6AddressList()
153 SuccessOrExit(error = aMessage.Append(extTlv)); in AppendIp6AddressList()
185 ExtendedTlv extTlv; in AppendChildTable() local
187 extTlv.SetType(Tlv::kChildTable); in AppendChildTable()
188 extTlv.SetLength(count * sizeof(ChildTableEntry)); in AppendChildTable()
189 SuccessOrExit(error = aMessage.Append(extTlv)); in AppendChildTable()
774 ExtendedTlv extTlv; in AppendChildIp6AddressListTlv() local
776 extTlv.SetType(Tlv::kChildIp6AddressList); in AppendChildIp6AddressListTlv()
[all …]
/openthread-3.7.0/src/core/radio/
Dble_secure.cpp411 ot::ExtendedTlv extTlv; in HandleTlsReceive() local
412 requiredBytes = sizeof(extTlv); in HandleTlsReceive()
419 IgnoreReturnValue(mReceivedMessage->Read(0, extTlv)); in HandleTlsReceive()
420 requiredBytes = extTlv.GetSize(); in HandleTlsReceive()
421 offset = sizeof(extTlv); in HandleTlsReceive()
/openthread-3.7.0/src/core/common/
Dtlvs.cpp125 ExtendedTlv extTlv; in ParseFrom() local
138 SuccessOrExit(error = aMessage.Read(aOffset, extTlv)); in ParseFrom()
140 mType = extTlv.GetType(); in ParseFrom()
141 mLength = extTlv.GetLength(); in ParseFrom()
/openthread-3.7.0/src/core/meshcop/
Dtcat_agent.cpp371 ot::ExtendedTlv extTlv; in HandleSingleTlv() local
372 SuccessOrExit(error = aIncommingMessage.Read(offset, extTlv)); in HandleSingleTlv()
373 length = extTlv.GetLength(); in HandleSingleTlv()
Dborder_agent.cpp377 ExtendedTlv extTlv; in HandleUdpReceive() local
381 extTlv.SetType(Tlv::kUdpEncapsulation); in HandleUdpReceive()
382 extTlv.SetLength(sizeof(UdpEncapsulationTlvHeader) + udpLength); in HandleUdpReceive()
383 SuccessOrExit(error = message->Append(extTlv)); in HandleUdpReceive()