Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/net/
Ddnssd_server.cpp303 uint16_t recordOffset; in AppendPtrRecord() local
310 recordOffset = aMessage.GetLength(); in AppendPtrRecord()
311 SuccessOrExit(error = aMessage.SetLength(recordOffset + sizeof(ptrRecord))); in AppendPtrRecord()
315 ptrRecord.SetLength(aMessage.GetLength() - (recordOffset + sizeof(ResourceRecord))); in AppendPtrRecord()
316 aMessage.Write(recordOffset, ptrRecord); in AppendPtrRecord()
333 uint16_t recordOffset; in AppendSrvRecord() local
343 recordOffset = aMessage.GetLength(); in AppendSrvRecord()
344 SuccessOrExit(error = aMessage.SetLength(recordOffset + sizeof(srvRecord))); in AppendSrvRecord()
348 srvRecord.SetLength(aMessage.GetLength() - (recordOffset + sizeof(ResourceRecord))); in AppendSrvRecord()
349 aMessage.Write(recordOffset, srvRecord); in AppendSrvRecord()
Ddns_types.cpp731 uint16_t recordOffset; in FindRecord() local
738 recordOffset = offset; in FindRecord()
760 offset = static_cast<uint16_t>(recordOffset + aRecord.GetSize()); in FindRecord()