Home
last modified time | relevance | path

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

/system/core/fastboot/
Dudp.cpp137 std::vector<uint8_t> rx_packet_; member in udp::UdpTransport
157 rx_packet_.resize(kMinPacketSize); in InitializeProtocol()
200 rx_packet_.resize(packet_size); in InitializeProtocol()
269 bytes = socket_->Receive(rx_packet_.data(), rx_packet_.size(), kResponseTimeoutMs); in SendSinglePacketHelper()
280 } while (!header->Matches(rx_packet_.data())); in SendSinglePacketHelper()
289 if (rx_packet_[kIndexId] == kIdError) { in SendSinglePacketHelper()
290 error->append(rx_packet_.data() + kHeaderSize, rx_packet_.data() + bytes); in SendSinglePacketHelper()
295 memcpy(rx_data, rx_packet_.data() + kHeaderSize, rx_data_bytes); in SendSinglePacketHelper()
303 if (rx_packet_[kIndexFlags] & kFlagContinuation) { in SendSinglePacketHelper()
306 header->Set(rx_packet_[kIndexId], sequence_, kFlagNone); in SendSinglePacketHelper()
[all …]