Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/net/
Dicmp6.cpp178 Message * replyMessage = nullptr; in HandleEchoRequest() local
190 if ((replyMessage = Get<Ip6>().NewMessage(0)) == nullptr) in HandleEchoRequest()
197 SuccessOrExit(error = replyMessage->SetLength(Header::kDataFieldOffset + payloadLength)); in HandleEchoRequest()
199 replyMessage->WriteBytes(0, &icmp6Header, Header::kDataFieldOffset); in HandleEchoRequest()
201 payloadLength, *replyMessage); in HandleEchoRequest()
210 SuccessOrExit(error = Get<Ip6>().SendDatagram(*replyMessage, replyMessageInfo, kProtoIcmp6)); in HandleEchoRequest()
212 IgnoreError(replyMessage->Read(replyMessage->GetOffset(), icmp6Header)); in HandleEchoRequest()
216 FreeMessageOnError(replyMessage, error); in HandleEchoRequest()