Home
last modified time | relevance | path

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

/system/core/fastboot/
Dudp.cpp136 std::vector<uint8_t> rx_packet_; member in udp::UdpTransport
156 rx_packet_.resize(kMinPacketSize); in InitializeProtocol()
199 rx_packet_.resize(packet_size); in InitializeProtocol()
268 bytes = socket_->Receive(rx_packet_.data(), rx_packet_.size(), kResponseTimeoutMs); in SendSinglePacketHelper()
279 } while (!header->Matches(rx_packet_.data())); in SendSinglePacketHelper()
288 if (rx_packet_[kIndexId] == kIdError) { in SendSinglePacketHelper()
289 error->append(rx_packet_.data() + kHeaderSize, rx_packet_.data() + bytes); in SendSinglePacketHelper()
294 memcpy(rx_data, rx_packet_.data() + kHeaderSize, rx_data_bytes); in SendSinglePacketHelper()
302 if (rx_packet_[kIndexFlags] & kFlagContinuation) { in SendSinglePacketHelper()
305 header->Set(rx_packet_[kIndexId], sequence_, kFlagNone); in SendSinglePacketHelper()
[all …]