Home
last modified time | relevance | path

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

/system/core/fastboot/
Dudp.cpp124 ssize_t SendData(Id id, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data,
129 ssize_t SendSinglePacketHelper(Header* header, const uint8_t* tx_data, size_t tx_length,
206 ssize_t UdpTransport::SendData(Id id, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data, in SendData() argument
220 if (tx_length > max_data_length_) { in SendData()
224 packet_data_length = tx_length; in SendData()
243 tx_length -= packet_data_length; in SendData()
247 } while (tx_length > 0); in SendData()
253 Header* header, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data, in SendSinglePacketHelper() argument
260 if (!socket_->Send({{header->bytes(), kHeaderSize}, {tx_data, tx_length}})) { in SendSinglePacketHelper()
307 tx_length = 0; in SendSinglePacketHelper()