Searched refs:replyMessage (Results 1 – 1 of 1) sorted by relevance
178 Message * replyMessage = nullptr; in HandleEchoRequest() local190 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()