Searched refs:extTlv (Results 1 – 6 of 6) sorted by relevance
46 ExtendedTlv extTlv; in TestTlv() local81 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 …]
149 ExtendedTlv extTlv; in AppendIp6AddressList() local151 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() local187 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() local776 extTlv.SetType(Tlv::kChildIp6AddressList); in AppendChildIp6AddressListTlv()[all …]
411 ot::ExtendedTlv extTlv; in HandleTlsReceive() local412 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()
125 ExtendedTlv extTlv; in ParseFrom() local138 SuccessOrExit(error = aMessage.Read(aOffset, extTlv)); in ParseFrom()140 mType = extTlv.GetType(); in ParseFrom()141 mLength = extTlv.GetLength(); in ParseFrom()
371 ot::ExtendedTlv extTlv; in HandleSingleTlv() local372 SuccessOrExit(error = aIncommingMessage.Read(offset, extTlv)); in HandleSingleTlv()373 length = extTlv.GetLength(); in HandleSingleTlv()
377 ExtendedTlv extTlv; in HandleUdpReceive() local381 extTlv.SetType(Tlv::kUdpEncapsulation); in HandleUdpReceive()382 extTlv.SetLength(sizeof(UdpEncapsulationTlvHeader) + udpLength); in HandleUdpReceive()383 SuccessOrExit(error = message->Append(extTlv)); in HandleUdpReceive()