Home
last modified time | relevance | path

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

/system/core/fastboot/
Dudp.cpp125 ssize_t SendData(Id id, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data,
130 ssize_t SendSinglePacketHelper(Header* header, const uint8_t* tx_data, size_t tx_length,
207 ssize_t UdpTransport::SendData(Id id, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data, in SendData() argument
221 if (tx_length > max_data_length_) { in SendData()
225 packet_data_length = tx_length; in SendData()
244 tx_length -= packet_data_length; in SendData()
248 } while (tx_length > 0); in SendData()
254 Header* header, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data, in SendSinglePacketHelper() argument
261 if (!socket_->Send({{header->bytes(), kHeaderSize}, {tx_data, tx_length}})) { in SendSinglePacketHelper()
308 tx_length = 0; in SendSinglePacketHelper()