Lines Matching full:tx_length
124 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,
220 if (tx_length > max_data_length_) {
224 packet_data_length = tx_length;
243 tx_length -= packet_data_length;
247 } while (tx_length > 0);
253 Header* header, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data,
260 if (!socket_->Send({{header->bytes(), kHeaderSize}, {tx_data, tx_length}})) {
307 tx_length = 0;